Click in order · NestJS course · Module 10: Data Validation

Validation Process in NestJS

Arrange the steps of the HTTP request validation process in NestJS in the correct order:

Items to click

  • class-transformer converts data to a DTO instance
  • ValidationPipe triggers class-validator
  • HTTP request arrives at the server
  • Data passed to the controller (or 400 error)

You can check the correct answer by solving this task in the CodeWorlds game.