Skip to content

Columns validations #8

Description

@ele828

Support column validations, code looks like:

@Entity()
class E {
    @Column
    @Length(1, 10)
    name: string;

    @Column
    @IsDate()
    regDate: Date;
}

References to this project,
https://github.com/pleerock/class-validator

We should think about the way we implement it, should we just use the Sequelize embedded validator or using 3rd party one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions