-
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.
Restrict selection set normalization during query planning to @key/@r…
…equires (#3165) Normalization for conditions/field sets makes sense for recursive query planning, but we can't quite do it for `@provides` (inline fragments have a specific meaning there) and `@fromContext` (we'd like to forbid non-top-level inline fragments there), and some composition validations become more complex to explain/spot if we permit them to normalize. This PR restricts that normalization to when we fetch the conditions for `@key`/`@requires` field sets.
- Loading branch information
1 parent
7fe1465
commit 8334c2a
Showing
2 changed files
with
8 additions
and
4 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