Question · NestJS course · Module 10: Data Validation
Popular DTO Types in NestJS
Which mapped type is most commonly used to create UpdateDto in NestJS?
Answer options
- OmitType - DTO without selected fields
- PartialType - all fields become optional
- PickType - DTO with selected fields
- IntersectionType - combination of two DTOs
You can check the correct answer by solving this task in the CodeWorlds game.