Open ilterugur opened 2 years ago
It is designed to inspect type through typescript-json
validator. If you wanna use class validator, TypedBody
is not a good solution.
https://github.com/samchon/typescript-json#runtime-type-checkers
However, if you wanna keep using this TypedBody
for the typescript type inspection and only need additional inspection, you can use comment tags instead.
Class validator is not validating parameters decorated with nestia-helper's TypedBody decorator