Closed fake364 closed 1 year ago
Hi @fake364
Can't replicate the issue you're having. Please provide a minimum reproducible repo.
@ggurkal Hi, thank you for response, and sorry for long delay I could reproduce this and made minimal reproducible example https://github.com/fake364/pipe-error-repro I noticed that while using SWC there weren't such problems like this one, but after adding babel.config.js and additional libraries the issue seems became reproducible
Hi @fake364
Sorry for the late reply.
The problems seems to be related to your babel config. Please follow the guideline here: https://nextjs.org/docs/pages/building-your-application/configuring/babel
Feel free to reopen the issue if you encounter a problem related to this.
Hi, I've just noticed that validation pipe doesn't work at all though it validates correctly if I use validate(...) from class-validator. Currently The object
{"postId":"7d2dc33e-2bb2-430d-9603-e463903cdca1","text":" ","userId":110}
is Passed successfuly, and no logs in transform callback Here are my code samples api controllerCommentEntity
Node: 14.17.1 tsconfig.json
package.json
And yes, I installed all required packages :)