EraCode practice

Whitelist DTO validation: forbid unknown fields

NestJSadvancedMulti-Part

Summary

Security/validation micro-practice: prevent mass-assignment by rejecting requests that include properties not defined in your DTO.

Problem preview

### Goal Your NestJS app uses DTO validation, but you want to **reject** any request that includes fields not explicitly allowed by the DTO (to reduce mass-assignment risk). ### One action item Fill …

Attempt this challenge

Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.