fix: @ValidateNested not working #1129
Labels
status: needs triage
Issues which needs to be reproduced to be verified report.
type: fix
Issues describing a broken feature.
Description
Hello, I have a problem with @ValidateNested decorator. It is not working for me; I have tried with a single object and an array, but neither is working.
Minimal code-snippet showcasing the problem
Expected behavior
I sent this body param with a bad value for "question" field
Actual behavior
The "polls" and "singlePoll" are not validated and the request will pass.
But an error should be thrown.
My package.json
The issue #483 is similar to my problem but there is no solution
Have you any solution ?
(Sorry for my english, I am french ^^)
The text was updated successfully, but these errors were encountered: