This sample project demonstrates the usage of class-validator
package to validate and transform requests in NestJS apps.
See the full article here: https://medium.com/@dkhorev/validating-complex-requests-with-nestjs-a-practical-example-b55c287f7c99
npm i
npm run start:dev
To check out requests with Postman please import collection provided with this repo: postman_collection.json