Skip to content

chore: Add support for refs with property path#309

Merged
fabien0102 merged 1 commit intofabien0102:mainfrom
sschw:chore-deep-ref
Jul 30, 2025
Merged

chore: Add support for refs with property path#309
fabien0102 merged 1 commit intofabien0102:mainfrom
sschw:chore-deep-ref

Conversation

@sschw
Copy link
Copy Markdown
Contributor

@sschw sschw commented Mar 28, 2025

Addressing the issue mentioned in #308 with $ref paths that refer to a specific property inside the referenced object.

For now added support for $ref paths that contain items and properties/propName. The implementation loops over the property path and:

  • maps properties/propName to ["propName"]
  • maps items to [number]
  • or skips the part of the path if both cases do not apply

@fabien0102 fabien0102 merged commit 75b71f7 into fabien0102:main Jul 30, 2025
1 check 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.

2 participants