typeorm-routing-controllers-extensions icon indicating copy to clipboard operation
typeorm-routing-controllers-extensions copied to clipboard

Support passing class-validator options in decorators

Open jdforsythe opened this issue 7 years ago • 0 comments

Using a combination of typeorm, routing-controllers, this package, and class-validator decorators.

Trying @EntityFromBody() on a PUT request with some properties missing results in a validation error for the missing properties.

The decorators should pass through a validate property with ValidatorOptions

jdforsythe avatar Aug 14 '18 14:08 jdforsythe