NestJS · Middle · Question 51 of 75

Which API versioning strategies does Nest support?

Explanation

Enable with app.enableVersioning({ type: VersioningType.URI }) and mark controllers or routes with @Version('2').

Further reading

Problem with a question

NestJS · Middle · question 51

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