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: include schemas from all documents in dependency graph #227

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

mnahkies
Copy link
Owner

previously schemas loaded from other documents like $ref: './common.yaml#/components/schemas/FooBar' were not always correctly considered when building the schema dependency graph.

this meant that you could have schemas output in an ordering that would not build, due to variables not having been initialized.

@mnahkies mnahkies enabled auto-merge (squash) July 29, 2024 17:16
@mnahkies mnahkies disabled auto-merge July 29, 2024 17:16
@mnahkies mnahkies enabled auto-merge (squash) July 29, 2024 17:30
@mnahkies mnahkies merged commit 5fa614d into main Jul 29, 2024
1 check passed
@mnahkies mnahkies deleted the mn/fix/include-all-documents-in-dependency-graph branch July 29, 2024 17:32
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