Put in order · NestJS course · Module 10: Data Validation
@UsePipes Decorator on an Endpoint
Arrange the elements of using @UsePipes on an endpoint in the correct order:
Items to put in order
- )
- new ValidationPipe(
- @UsePipes(
- { whitelist: true })
You can check the correct answer by solving this task in the CodeWorlds game.