Skip to content

Feature request: @IsNullable #637

Open
@andybarron

Description

@andybarron

A version of @IsOptional that would allow null but not undefined would be a great add for a lot of use cases. Additionally, a version that allowed undefined but not null would come in handy for certain operations as well - I would think this is what @IsOptional should do, but the docs state that it allows null AND undefined, which I don't think is particularly intuitive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureIssues related to new features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions