typeorm / typeorm-routing-controllers-extensions

TypeORM and Routing-Controllers integration library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support passing class-validator options in decorators

jdforsythe opened this issue · 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