-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add required_with
, required_with_all
, required_without
, required_without_all
validators
#469
Conversation
Hey @mashmooli thanks for the PR! nice work! I have a couple of requests before I can merge:
|
Hi @deankarn thanks for the reply. |
@mashmooli merged, I think that a cool addition would be allowing this to work with nested structures also :) The helper functions exist within this repo if you're interested :) |
Add `required_with`, `required_with_all`, `required_without`, `required_without_all` validators
@mashmooli hope it is ok to be asking here. I had expected the following to throw an error but it isn't:
Shouldn't that be covered by |
Make sure that you've checked the boxes below before you submit PR:
Change Details:
add these validators
@go-playground/admins