Skip to content

is_in_enum combined with int_gt doesn't work #107

@SavostinVladimir

Description

@SavostinVladimir

I try to use such a syntax, but it doesn't work

[(validator.field) = {int_gt:0, is_in_enum: true}]

It makes sense for example when you use 0 value for enum INVALID, and then want to validate that enum is greater than INVALID value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions