Skip to content

Validate circular and multi-file schema references instead of failing#290

Merged
daveshanley merged 3 commits into
mainfrom
circ-refs
Jun 22, 2026
Merged

Validate circular and multi-file schema references instead of failing#290
daveshanley merged 3 commits into
mainfrom
circ-refs

Conversation

@daveshanley

@daveshanley daveshanley commented Jun 20, 2026

Copy link
Copy Markdown
Member

Previously, schemas containing circular or external/multi-file $refs were fully inlined before compilation, which failed to render and surfaced a "failed schema rendering" error rather than validating the payload. These schemas are now compiled from named JSON Schema resources that preserve the $ref structure across documents, so circular and multi-file references validate correctly.

#287 #288

Previously, schemas containing circular or external/multi-file $refs were
fully inlined before compilation, which failed to render and surfaced a
"failed schema rendering" error rather than validating the payload. These
schemas are now compiled from named JSON Schema resources that preserve the
$ref structure across documents, so circular and multi-file references
validate correctly.
@codecov

codecov Bot commented Jun 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.97%. Comparing base (13aa668) to head (d54be91).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #290      +/-   ##
==========================================
+ Coverage   97.65%   97.97%   +0.31%     
==========================================
  Files          65       67       +2     
  Lines        7133     7445     +312     
==========================================
+ Hits         6966     7294     +328     
+ Misses        134      125       -9     
+ Partials       33       26       -7     
Flag Coverage Δ
unittests 97.97% <100.00%> (+0.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@daveshanley daveshanley merged commit 7c29d39 into main Jun 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant