Question · NestJS course · Module 2: Routing and Request Lifecycle

Introduction: Two Uses of Pipes

What are the two main uses of Pipes in NestJS?

Answer options

  • Validation and transformation of input data
  • Routing and middleware
  • Authorization and logging
  • Caching and compression
Show the answer

Correct answer:

  • Validation and transformation of input data