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

Return the first failed validation #20

Open
tarunbatra opened this issue Apr 10, 2019 · 0 comments
Open

Return the first failed validation #20

tarunbatra opened this issue Apr 10, 2019 · 0 comments

Comments

@tarunbatra
Copy link
Owner

Right now, there are two modes of using the library:

  • Return boolean on validations (returns false on first failed validation)
  • Return list of all failed validations (iterate through all the failed validations)

We should also have a mode where no further validations are matched if one fails, but also get which one failed.

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

No branches or pull requests

1 participant