nestjs-graphql-boilerplate
nestjs-graphql-boilerplate copied to clipboard
add global pipe to makes validation in bodies inside requests based on DTOs
This PR is based on the content described on the validation page, provided in the NestJS documentation. We need this PR because it adds the validation pipe that will be responsible for validating the requests body.