Question · NestJS course · Module 10: Data Validation
Role of ValidationPipe
What is the main role of ValidationPipe in NestJS?
Answer options
- Encrypting data in HTTP requests
- Compressing server responses
- Automatically running class-validator decorator validation
- Generating Swagger documentation
You can check the correct answer by solving this task in the CodeWorlds game.