[@W-21368901] Fix deep allOf schema rendering (4+ levels)#896
Closed
[@W-21368901] Fix deep allOf schema rendering (4+ levels)#896
Conversation
- Update @api-components/api-example-generator to 4.4.36 - Update @api-components/api-type-document to 4.2.42 - Add regression test for deep allOf (4+ levels) - Add product-order-minimal to demos - Add nullable spec for W-11650729
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes W-21368901 - API Console fails to render properties from deeply nested allOf schemas (4+ levels).
What Changed
@api-components/api-example-generatorto 4.4.36 (recursive property collection)@api-components/api-type-documentto 4.2.42 (recursive property collection)test/api-console-deep-allof.test.js)Root Cause
Single-pass iteration through allOf shapes didn't recursively expand nested
shacl:andarrays beyond 3 levels.Solution
Both updated components now use recursive property collection with:
visitedSet)Testing
api-console-deep-allof.test.js)dateandtimeSlotfields now display in PXCAppointmentRefDemo