Skip to content

Commit

Permalink
fix: remove references array from GraphQL union references generation (
Browse files Browse the repository at this point in the history
  • Loading branch information
cngonzalez committed Jan 28, 2025
1 parent ec4abea commit 62fcc43
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6,733 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ export function extractFromSanitySchema(

return {
type: name,
...(targetTypes ? {references: targetTypes} : {}),
...base,
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2555,10 +2555,6 @@ exports[`GraphQL - Schema extraction > Should be able to extract schema with uni
"children": {
"description": undefined,
"isReference": true,
"references": [
"A",
"Union",
],
"type": "AOrUnion",
},
"description": undefined,
Expand Down
Loading

0 comments on commit 62fcc43

Please sign in to comment.