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.
Allow fields with arguments in @requires (apollographql#2120)
If such field with arguments is used in a @requires, then that @requires must provide a value for any required argument and may provide a value for any non-required one (like in any normal graphQL selection set). Additionally, this commit rejects aliases in @requires, @provides and @key. Not because aliases cannot ever make sense in those directives, but rather because it currently does not work (it breaks at runtime) but wasn't rejected properly. Fixes apollographql#1987
- Loading branch information
Sylvain Lebresne
authored
Sep 13, 2022
1 parent
6d247d6
commit c99de57
Showing
11 changed files
with
592 additions
and
85 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
Oops, something went wrong.