Skip to content

Return the first failed validation #20

@tarunbatra

Description

@tarunbatra

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions