NestJS · Middle · Question 68 of 75

What does @Controller({ path: 'users', version: '2' }) require to work?

Explanation

Without enabling versioning, version metadata is ignored and routes conflict.

Further reading

Problem with a question

NestJS · Middle · question 68

Test yourself

Take the NestJS · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz