Skip to content

Support passing class-validator options in decorators #15

Open
@jdforsythe

Description

@jdforsythe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions