-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid reusing named fragments that are invalid for the subgraph (#2255)
In some subtle conditions (mostly related to interface merging), it is possible that a named fragment from the user query "matches" in a subgraph fetch, yet to have that fragment being invalid for the subgraph (see test included in this patch for an example). This patch ensures we don't reuse such fragments.
- Loading branch information
Sylvain Lebresne
authored
Nov 18, 2022
1 parent
b54ccc1
commit 867ac31
Showing
4 changed files
with
112 additions
and
3 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