Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reference types #3995

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

fersilva16
Copy link

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.

Copy link

linux-foundation-easycla bot commented Dec 10, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: fersilva16 / name: Fernando Silva (602fe1c)

Copy link

netlify bot commented Dec 10, 2023

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit 602fe1c
🔍 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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants