Question · NestJS course · Module 2: Routing and Request Lifecycle
The applyDecorators Function
What does the applyDecorators() function do in NestJS?
Answer options
- Creates a new NestJS module
- Combines multiple decorators into one composite decorator
- Removes existing decorators from a method
- Generates Swagger documentation
Show the answer
Correct answer:
- Combines multiple decorators into one composite decorator