Question · NestJS course · Module 10: Data Validation

The transform Option in ValidationPipe

What does the transform: true option do in ValidationPipe?

Answer options

  • Automatically converts URL parameters from strings to appropriate types
  • Changes the response format to XML
  • Transforms validation errors into logs
  • Disables class-transformer transformation

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