-
Notifications
You must be signed in to change notification settings - Fork 240
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
Proposal for a contains rule #358
Comments
funkyfuture
added a commit
to funkyfuture/cerberus
that referenced
this issue
Apr 21, 2018
funkyfuture
added a commit
to funkyfuture/cerberus
that referenced
this issue
Apr 21, 2018
funkyfuture
added a commit
to funkyfuture/cerberus
that referenced
this issue
May 31, 2018
funkyfuture
added a commit
to funkyfuture/cerberus
that referenced
this issue
May 31, 2018
Implemented in #387. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
while we were looking on a deceased project to test json-apis we noticed one validation rule it has that Cerberus doesn't have:
contains
. quiet obviously, it would test whether an object that implements a__contains__
method contains the constraining values.strings are not considered as a container object, so this isn't suitable to test substrings, there's
regex
for that.or am i overlooking the possibilty to do such tests already?
The text was updated successfully, but these errors were encountered: