You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
When providing a child to a @Body() parameter while using a global ValidationPipe the child object is not processed correctly and an "invalid" child object can make it through the validation pipe.
Expected behavior
Child objects will be inspected and blocked through the validation pipe
Minimal reproduction of the problem with instructions
Once you've cloned this repo post an invalid child object(s) to the POST /api/release endpoint.
What is the motivation / use case for changing the behavior?
Oh, and as a follow up (let me know if you want me to create a different issue for this) if you attempt to hit an API endpoint that doesn't exist the calling client (Postman) doesn't get a 404 it just keeps trying
I'm submitting a...
Current behavior
When providing a child to a
@Body()
parameter while using a globalValidationPipe
the child object is not processed correctly and an "invalid" child object can make it through the validation pipe.Expected behavior
Child objects will be inspected and blocked through the validation pipe
Minimal reproduction of the problem with instructions
Once you've cloned this repo post an invalid child object(s) to the POST /api/release endpoint.
What is the motivation / use case for changing the behavior?
This can't be correct behavior.
Environment
The text was updated successfully, but these errors were encountered: