I am new to nestJS and I have added a ValidationPipe() to main.ts
app.useGlobalPipes(new ValidationPipe())
Now I am using class-validator decorators inside my DTO's but nothing is working right now. I am using GraphQl but as I have already configured the pipe globally it must work.
Is there any more configuration that needs to be done and I am missing that? Please help.
1.4m articles
1.4m replys
5 comments
57.0k users