In NestJS, there are four different types of versioning that can be implemented. The findOne() endpoint will now return a 404, unless you call it with an explicit version. Multiple versions can be applied to a controller/route by setting the version to be an array.

β€’7m read timeβ€’From thisdot.co
Post cover image
Table of contents
πŸ”— Types of versioningπŸ”— Applying versions to your endpointsπŸ”— Selection of highest-matching versionπŸ”— Conclusion

Sort: