Skip to content

Validating all items in a collection rather than stopping at the first failure. #68

@tknarr-starbucks

Description

@tknarr-starbucks

I noticed the code stops at the first item in a collection that fails validation. Most of the time I prefer to get all failures for the collection at once so I don't have to do multiple iterations to fix all the validation failures in a collection. It looked like a simple fix to change this behavior, so I did the work and added test cases and it seems like it works without breaking anything. I'm going to open a PR with the change for review.

Would this be behavior that'd be better controlled by a flag, or just made the norm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions