mercurius-js / mercurius

Implement GraphQL servers and gateways with Fastify
https://mercurius.dev/
MIT License
2.34k stars 234 forks source link

Federating with ruby-graphql #862

Closed flovilmart closed 2 years ago

flovilmart commented 2 years ago

More a question than an issue. I am wondering what the DSL should be when integrating with an external server that isn't a mercurius federation / graphQL server, for example ruby-graphql.

I see that the server expects an SDL to be served, but how would I go about producing one?

Thanks!

mcollina commented 2 years ago

According to https://www.apollographql.com/docs/federation/supported-subgraphs/, graphql-ruby supports it.

flovilmart commented 2 years ago

Wonderful! Thanks.