-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing query graph edge for interfaces implementing interfaces (#…
…3122) During `addAdditionalAbstractTypeEdges()`, we add edges between abstract types, but we specifically were skipping edges between interfaces implementing interfaces because that function expected it to be added already by `addAbstractTypeEdges()`. However, the latter function only handles edges between concrete (object) and abstract types. This PR accordingly updates `addAdditionalAbstractTypeEdges()` to stop skipping interfaces-implementing-interfaces edges, and updates tests accordingly.
- Loading branch information
1 parent
b91e81a
commit acfe319
Showing
3 changed files
with
8 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@apollo/gateway": patch | ||
"@apollo/query-graphs": patch | ||
--- | ||
|
||
Avoid type explosion for inline fragments where the type condition is an interface that implements the parent type. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters