karenetheridge / JSON-Schema-Modern

Validate data against a schema using a JSON Schema
https://metacpan.org/release/JSON-Schema-Modern/
Other
10 stars 1 forks source link

"terminal_only" output format #52

Open karenetheridge opened 2 years ago

karenetheridge commented 2 years ago

See https://github.com/json-schema-org/json-schema-spec/issues/973#issuecomment-734984420

This would be pretty easy to implement by changing E() to producing no error if there are already errors in the $state object (i.e. in this branch of the result structure), once error collection is changed to be nested rather than linear.