covjson / playground

CoverageJSON Playground
https://covjson.org/playground/
Other
5 stars 2 forks source link

Prune schema validation errors #6

Closed letmaik closed 2 years ago

letmaik commented 2 years ago

The JSON Schema validation library ajv returns multiple errors for a single actual error at the same location. In addition to that, it also bubbles up errors to higher-level schemas. This PR prunes all those noise-type errors to try to show only the relevant errors.

Sneak peak: image