Skip to content

Commit

Permalink
fix: issue with dereferencing schemas (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrwiersma authored Oct 23, 2023
1 parent 50a7897 commit 0429db3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schema_parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ func derefSchema(schema Schema) Schema {
}

if _, haveSeen := seen[ref.Schema().FullName()]; !haveSeen {
seen[ref.Schema().FullName()] = struct{}{}
return ref.Schema()
}
return schema
Expand Down

0 comments on commit 0429db3

Please sign in to comment.