NestJs DTO does not validate object properly
Controller Class
main.ts I also try adding { whitelist: true } and {forbidNonWhitelisted: true } and { whitelist: true, forbidNonWhitelisted: true } but no luck
This is how I call my API and this type response is ok
If I passed the wrong properties it not throw an error...This is the issue, It should be only working if I pass valid properties.

Thanks.



