-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Introduce NumberComparison validator #274
Conversation
Adds a single validator that only validates numeric input with optional lower and upper bounds. This validator should replace `LessThan`, `GreaterThan` and `Between` Signed-off-by: George Steel <george@net-glue.co.uk>
… can be set independently Signed-off-by: George Steel <george@net-glue.co.uk>
27f6f97
to
f940307
Compare
Signed-off-by: George Steel <george@net-glue.co.uk>
f940307
to
fb05692
Compare
Signed-off-by: George Steel <george@net-glue.co.uk>
Signed-off-by: George Steel <george@net-glue.co.uk>
1620cc5
to
fc765ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only minor formatting changes and a heading.
Co-authored-by: Frank Brückner <info@froschdesignstudio.de> Signed-off-by: George Steel <george@netglue.uk>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢 thanks @gsteel!
Description
Adds a single validator that only validates numeric input with optional lower and upper bounds.
This validator should replace
LessThan
,GreaterThan
andBetween
Further discussion on the reason for this validator in #272