Skip to content

Apollo Federation Spec Support #2311

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

Closed
audiolion opened this issue May 30, 2019 · 8 comments
Closed

Apollo Federation Spec Support #2311

audiolion opened this issue May 30, 2019 · 8 comments

Comments

@audiolion
Copy link

Hi @rmosolgo 👋

Apollo announced their federation service today which enables the creation of a graphql gateway that merges multiple graphql schemas together under one graphql endpoint. Would graphql-ruby consider adding support for the Federation spec? It would enable people using graphql-ruby to easily compose multiple graphql apis into a single graphql gateway.

@rtymchyk
Copy link
Contributor

rtymchyk commented Jun 5, 2019

Based on this SO answer (https://stackoverflow.com/a/56432125/3271124) there is some hope in building this out ourselves before it is build-in with this gem. Creating few types, custom directives, and implementation should all be possible.

Has anyone had a chance to start? I will be exploring this pretty soon and will share any progress I got.

@rmosolgo
Copy link
Owner

rmosolgo commented Jun 6, 2019

Hey, thanks for sharing that news! I'd be happy to include support along with GraphQL-Ruby, but personally I don't expect to have bandwidth for it until 1.10 (#2100) is done. If someone wants to implement it separately, please upstream any improvements to graphql-ruby that would make it easier to support!

@jbaxleyiii
Copy link

👋 Anything I can do to help (from the Apollo Federation team)

@diogobeda
Copy link

I'm also starting to take a look at this in my own fork. Will use this issue to post future questions and progress 👋

@rylanc
Copy link
Contributor

rylanc commented Jun 21, 2019

I just published the first version of a Ruby implementation of Apollo Federation: https://github.com/Gusto/apollo-federation-ruby. It works alongside graphql-ruby. Please try it out and let me know what you think!

@audiolion
Copy link
Author

@rylanc that is awesome! Going to try this out next week

@sam-enough
Copy link

@rylanc Also going to give this a try this week, first glance it looks like a great start.

@rmosolgo
Copy link
Owner

Thanks for your work on this @rylanc! Please do open an issue if there's anything we could do in GraphQL-Ruby to help you support it.

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

7 participants