Skip to content

chore: Add support for refs with property path #309

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

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

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.

1 participant