Add strict min/max Range validator
See original GitHub issueRange
only offers “greater than or equal” (min) and “lower than or equal” (max).
We could add “greater than” and “lower than”.
How should we call the new parameters?
min_strict
andmax_strict
?strict_min
andstrict_max
?- …?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Min / Max Validator in Angular 2 Final - Stack Overflow
min()/max() is a static function that accepts a number parameter and returns A validator function that returns an error map with the min/max...
Read more >Validators - Angular
ValidatorFn : A validator function that returns an error map with the minlength property if the validation check fails, otherwise null . Usage...
Read more >in_range: Check variable range in validate - Rdrr.io
Test wether a variable falls within a range. Usage. in_range(x, min, max, ...) ## Default S3 method: in_range(x, min, max, strict = FALSE,...
Read more >The best way to implement custom validators - Angular inDepth
First, we will have a look at some built-in operators and then learn how to implement a custom validator on our own (this...
Read more >Validation - Laravel - The PHP Framework For Web Artisans
Validating Files; Validating Passwords; Custom Validation Rules ... To use strict comparisons, you may add the strict parameter to your validation rule ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure,
min_inclusive
andmax_exclusive
seem fine to me.PR https://github.com/marshmallow-code/marshmallow/pull/1221