Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graphql: Implement reflection of ObjectTypes.
ObjectTypes get reflected as type INTERFACE into GraphQL. Additionally, non-abstract ObjectTypes get reflected as type OBJECT, but with the "Type" appended at the end of their name. This allows the return type of fields/functions to be specified in terms of INTERFACE types and the actual object __typename to reflect the OBJECT type of the specific instance.
- Loading branch information
1 parent
d920d57
commit 0d8d5a7
Showing
4 changed files
with
395 additions
and
182 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
Oops, something went wrong.