You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While validating negative integer values using range tag with ValidateStruct(), 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.
Q
A
New Feature
yes
RFC
no
BC Break
no
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:
joicemjoseph
added a commit
to joicemjoseph/govalidator
that referenced
this issue
May 6, 2021
Hello guys!
I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back
Link to my repo: create issue there and we'll discuss it.
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: