Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add root fragment support to relay resolvers
Summary: This diff allows Flow based resolvers to use fragments as their input, mirroring the "root fragment" in docblock resolvers. It pulls out the relevant features from the graphql string matching the name of the argument to the resolver. It then produces the equivalent docblock IR as if the features were parsed from the docblock. Reviewed By: tyao1 Differential Revision: D57033324 fbshipit-source-id: c1ae5e4ab0a7e965efd4a595baba5e41b5f3ff64
- Loading branch information
1 parent
35f9763
commit 77a87be
Showing
6 changed files
with
224 additions
and
10 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
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