Skip to content

fix(material): Resolve refs in object renderer#2202

Merged
sdirix merged 1 commit into
eclipsesource:masterfrom
LukasBoll:fix/resolve_ref_in_object_renderer
Nov 13, 2023
Merged

fix(material): Resolve refs in object renderer#2202
sdirix merged 1 commit into
eclipsesource:masterfrom
LukasBoll:fix/resolve_ref_in_object_renderer

Conversation

@LukasBoll

Copy link
Copy Markdown
Contributor

Previously, UI schemas generated in the Material object renderer were incomplete because not all refs could be resolved.

Closes #2187

@netlify

netlify Bot commented Oct 27, 2023

Copy link
Copy Markdown

Deploy Preview for jsonforms-examples ready!

Name Link
🔨 Latest commit 0f1fc78
🔍 Latest deploy log https://app.netlify.com/sites/jsonforms-examples/deploys/654946d19be2470007532905
😎 Deploy Preview https://deploy-preview-2202--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 site configuration.

@coveralls

coveralls commented Oct 27, 2023

Copy link
Copy Markdown

Coverage Status

coverage: 84.469%. remained the same
when pulling 0f1fc78 on LukasBoll:fix/resolve_ref_in_object_renderer
into f905c82 on eclipsesource:master.

@sdirix sdirix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good! Can you also check all other invocations of Generate.uiSchema in the code base? We are missing the extra parameters in multiple places.

Previously, UI schemas generated by JsonForms were incomplete in many instances
because not all references were resolved. This commit addresses the issue by
providing the root schema to all usages of the Generate.uischema function,
ensuring the resolution of all references.

Closes eclipsesource#2187
@LukasBoll
LukasBoll force-pushed the fix/resolve_ref_in_object_renderer branch from 00165a3 to 0f1fc78 Compare November 6, 2023 20:04

@sdirix sdirix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@sdirix
sdirix merged commit 7ddeb71 into eclipsesource:master Nov 13, 2023
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.

Property with reference is not rendered

3 participants