Closed OoDeLally closed 3 years ago
Mesmo problema
Just faced the same problem. Configuration of ValidationPipe
has no effect.
Solution was:
rm -rf dist node_modules package-lock.json
--legacy-peer-deps
flag. Only a common installation like npm i
I solve this issue after 4 hours of wall-head-banging and debugging, so I'm just posting it for the next guy who gets this issue.
When trying to
PATCH
a simple entity, I was getting the following error:without any other form of explanation.
My problem was that I set up a global
ValidationPipe
at the root of my Nest app:For some reason (nest noobie here), it doesnt play well with
nestjsx/crude
.After removing it, it worked fine again.