Skip to content
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

Fixes #36: All validators are optional by default #41

Merged
merged 1 commit into from
Nov 4, 2015
Merged

Fixes #36: All validators are optional by default #41

merged 1 commit into from
Nov 4, 2015

Conversation

robinheghan
Copy link
Contributor

When creating a validator with defvalidator, the :optional option is now true by default.
When passing a predicate as a validator, it will still have :optional set to false, to make sure the predicate is actually run.

@robinheghan
Copy link
Contributor Author

Link #36

@robinheghan
Copy link
Contributor Author

@LeonardoBorges any interest in this?

theleoborges added a commit that referenced this pull request Nov 4, 2015
Fixes #36: All validators are optional by default
@theleoborges theleoborges merged commit 690e414 into theleoborges:master Nov 4, 2015
@theleoborges
Copy link
Owner

Thanks for this. Will prepare a major release later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants