Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_in_enum combined with int_gt doesn't work #107

Open
SavostinVladimir opened this issue Mar 29, 2021 · 0 comments
Open

is_in_enum combined with int_gt doesn't work #107

SavostinVladimir opened this issue Mar 29, 2021 · 0 comments

Comments

@SavostinVladimir
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant