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

Support for @defer #1710

Closed
jporter-dev opened this issue Jul 26, 2018 · 6 comments
Closed

Support for @defer #1710

jporter-dev opened this issue Jul 26, 2018 · 6 comments

Comments

@jporter-dev
Copy link

jporter-dev commented Jul 26, 2018

I know it's been an "experimental feature" since sometime in 2016, but I saw that Apollo Server finally officially supports it. It would be great to use this in graphql-ruby!

https://blog.apollographql.com/introducing-defer-in-apollo-server-f6797c4e9d6e

I believe a similar feature exists in Relay Modern as well.

@jorroll
Copy link
Contributor

jorroll commented Jul 27, 2018

The apollo team has published their WIP @defer spec, as a reference for other graphql server authors:

@jporter-dev
Copy link
Author

Any updates on this feature, and whether or not the Ruby implementation of GraphQL will support it?

@levibuzolic
Copy link

@jporter-dev
Copy link
Author

Shame this feature is paywalled as it is a part of the Apollo GraphQL spec.

@rmosolgo
Copy link
Owner

rmosolgo commented Jun 6, 2019

Hey @joshporter1, it's built on top of custom directives, so if you want to see a free version, feel free to take a crack at it! Also, Apollo hardly supports @defer. The initial PR was created by an intern and has been untouched since August of last year. My PR to fix it has been ignored since I opened it in February.

If you're interested in seeing more adoption of @defer, I hope that gives you a few ideas for where you can pitch in!

@rmosolgo rmosolgo closed this as completed Jun 6, 2019
@jporter-dev
Copy link
Author

Thanks, will definitely look into that!

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

No branches or pull requests

4 participants