graphql-js
graphql-js copied to clipboard
Add reference types
This pull request introduces string references for GraphQL types, which aims to solve the problem with circular dependency between types in multiple files. Here's an usage example:
type: new GraphQLNonNull(new GraphQLList(new GraphQLNonNull('User')))
This PR has only the implementation for output types for now.
I've also made a RFC repository with a patch and pratical examples for testing: https://github.com/fersilva16/graphql-refs-rfc
Contributions and feedback are welcome.
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: fersilva16 / name: Fernando Silva (602fe1c88cd6002bb182a5a4a0569702a1ea811b)
Deploy Preview for compassionate-pike-271cb3 ready!
| Name | Link |
|---|---|
| Latest commit | 602fe1c88cd6002bb182a5a4a0569702a1ea811b |
| Latest deploy log | https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/65762522e405480008550690 |
| Deploy Preview | https://deploy-preview-3995--compassionate-pike-271cb3.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
How could we move forward with this pr?