-
Notifications
You must be signed in to change notification settings - Fork 555
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
validation for negative values on range validator. #441
Comments
joicemjoseph
added a commit
to joicemjoseph/govalidator
that referenced
this issue
May 6, 2021
joicemjoseph
changed the title
validation for negative values on range tag.
validation for negative values on range validator.
May 6, 2021
Hello guys! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
While validating negative integer values using
range
tag withValidateStruct()
, I received the following error message.The following validator is invalid or can't be applied to the field: \"range(-1|50000)\"
I request to add support for -ve integer values for range tag.
Summary
If this feature is added, then we could validate -ve integer values.
the validation tag
range(-1|50000)
would work as expected.If you can agree, I could work on it.
The text was updated successfully, but these errors were encountered: