Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

LukasBoll
Copy link
Contributor

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

Closes #2187

@netlify
Copy link

netlify bot commented Oct 27, 2023

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
Copy link

coveralls commented Oct 27, 2023

Coverage Status

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

Copy link
Member

@sdirix sdirix left a comment

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
Copy link
Member

@sdirix sdirix left a comment

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
8 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.

Property with reference is not rendered
3 participants