Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

range check should accept empty value #51

Closed
mkoertgen opened this issue Feb 16, 2015 · 2 comments · Fixed by #54
Closed

range check should accept empty value #51

mkoertgen opened this issue Feb 16, 2015 · 2 comments · Fixed by #54
Labels
Milestone

Comments

@mkoertgen
Copy link
Member

empty fields are handled by the RequiredCheck.

cf.: https://github.com/ThomasMentzel/NZazu/blob/master/NZazu.Contracts/Checks/RangeCheck_Should.cs#L52

@mkoertgen mkoertgen self-assigned this Feb 16, 2015
@mkoertgen mkoertgen added this to the v0.2 milestone Feb 16, 2015
@mkoertgen mkoertgen added the bug label Feb 16, 2015
@mkoertgen
Copy link
Member Author

The same holds for StringRegExCheck

@mkoertgen
Copy link
Member Author

And for StringLengthCheck as well.

mkoertgen added a commit that referenced this issue Feb 16, 2015
…t_empty_value

#51 changed checks to accept null or whitespace
@mkoertgen mkoertgen removed their assignment Mar 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant