Skip to content

Conversation

@sdirix
Copy link
Member

@sdirix sdirix commented Jul 24, 2025

Reworks schema resolving to be able to handle $refs in the root of the JSON Schema. Also adds circle reference detection, preventing runtime crashes.

Fixes #2471

Also adjusts core ava settings to fix incorrect source mappings.

@sdirix sdirix requested a review from lucas-koehler July 24, 2025 14:45
@netlify
Copy link

netlify bot commented Jul 24, 2025

Deploy Preview for jsonforms-examples ready!

Name Link
🔨 Latest commit 363aa06
🔍 Latest deploy log https://app.netlify.com/projects/jsonforms-examples/deploys/6883511e41a9d20008446774
😎 Deploy Preview https://deploy-preview-2472--jsonforms-examples.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sdirix sdirix force-pushed the fix-root-resolve branch from 0882816 to 9ce041b Compare July 24, 2025 14:53
@coveralls
Copy link

coveralls commented Jul 24, 2025

Coverage Status

coverage: 82.707% (+0.1%) from 82.573%
when pulling 363aa06 on sdirix:fix-root-resolve
into 883f108 on eclipsesource:master.

Reworks schema resolving to be able to handle $refs in the root of the
JSON Schema. Also adds circle reference detection, preventing runtime
crashes.

Fixes eclipsesource#2471

Also adjusts core ava settings to fix incorrect source mappings.
@sdirix sdirix force-pushed the fix-root-resolve branch 2 times, most recently from cc466d3 to 3cbf84e Compare July 25, 2025 09:40
@sdirix sdirix force-pushed the fix-root-resolve branch from 3cbf84e to 363aa06 Compare July 25, 2025 09:40
Copy link
Contributor

@lucas-koehler lucas-koehler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for this extensive improvement of the resolving algorithm :)

@sdirix sdirix merged commit e814b0a into eclipsesource:master Jul 25, 2025
8 checks passed
@sdirix sdirix deleted the fix-root-resolve branch July 25, 2025 10:25
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.

Resolver crashes when encountering a $ref at root level

3 participants