-
Notifications
You must be signed in to change notification settings - Fork 17
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
apply validation rules to each item in a Slice #3
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to be able to apply validation rules to each item in a slice.
eg
The following should then fail validation as one of the items in the list is outside of the range.
This would require replacing MinSize and MaxSize from being applied to slice lengths, so that rules can instead be used for length of each item in a slice of strings. New rules specific to slice length would then need to be introduced.
The text was updated successfully, but these errors were encountered: