forked from apollographql/federation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix building subgraph selections using the wrong underlying schema (a…
…pollographql#2155) In some case, we were building the selections for a subgraph based on the "operation path", which meant the selections were incorrectly linked to the supergraph API schema. This could lead to case where, as we tried to add a field to such selection, the field was not found due to being `@inacessible` and thus not part of the type of the API schema. This commit ensures we instead always "add" the "operation path" to a selection set properly based on the subgraph schema we're building the selection for. Fixes apollographql#2152
- Loading branch information
Sylvain Lebresne
authored
Sep 23, 2022
1 parent
8b31508
commit 14ef75d
Showing
5 changed files
with
138 additions
and
32 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
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
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