Skip to content

core: handle nullable object/array in generateUISchema - #2586

Merged
lucas-koehler merged 1 commit into
masterfrom
fix-2411
May 29, 2026
Merged

core: handle nullable object/array in generateUISchema#2586
lucas-koehler merged 1 commit into
masterfrom
fix-2411

Conversation

@sdirix

@sdirix sdirix commented May 28, 2026

Copy link
Copy Markdown
Member

Treat ['null', T] type arrays as nullable T for UI generation so that nested nullable objects traverse their properties instead of producing a bare Control. This avoids infinite recursion in object renderers that regenerate the UI schema for nested nullable objects.

Fixes #2411

Treat ['null', T] type arrays as nullable T for UI generation so that
nested nullable objects traverse their properties instead of producing
a bare Control. This avoids infinite recursion in object renderers
that regenerate the UI schema for nested nullable objects.

Fixes #2411
@sdirix
sdirix requested a review from lucas-koehler May 28, 2026 15:22
@netlify

netlify Bot commented May 28, 2026

Copy link
Copy Markdown

Deploy Preview for jsonforms-examples ready!

Name Link
🔨 Latest commit 252ccb4
🔍 Latest deploy log https://app.netlify.com/projects/jsonforms-examples/deploys/6a185daf7577290007850bb2
😎 Deploy Preview https://deploy-preview-2586--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.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 83.105% (+0.2%) from 82.946% — fix-2411 into master

@lucas-koehler lucas-koehler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks!

@lucas-koehler
lucas-koehler merged commit 7556cec into master May 29, 2026
11 checks passed
@lucas-koehler
lucas-koehler deleted the fix-2411 branch May 29, 2026 13:56
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.

Adding ‘null’ and ‘object’ type to property values for a schema

3 participants