You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed a bug where a single object incorrectly passed validation
against a schema requiring an array. Updated `JSONValidation` in
`validation.ts` to treat root-level errors as document-wide issues.
- Fixed a regression where invalid YAML produced validation errors after
the root-level error change. Added a check in `doValidation` to skip
validation for unparseable input.
- Added a test in json-validation.spec.ts to verify that a schema
expecting an array correctly rejects a single object, boolean, string
and number.
0 commit comments