Skip to content

fix: include schemas from all documents in dependency graph#227

Merged
mnahkies merged 2 commits into
mainfrom
mn/fix/include-all-documents-in-dependency-graph
Jul 29, 2024
Merged

fix: include schemas from all documents in dependency graph#227
mnahkies merged 2 commits into
mainfrom
mn/fix/include-all-documents-in-dependency-graph

Conversation

@mnahkies

Copy link
Copy Markdown
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
@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