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

Include a gateway implementation in the federation example #71

Open
jamescoleuk opened this issue Aug 3, 2023 · 1 comment
Open

Include a gateway implementation in the federation example #71

jamescoleuk opened this issue Aug 3, 2023 · 1 comment

Comments

@jamescoleuk
Copy link

The federation example uses rover to pull the subgraphs together into a supergraph. I have a Apollo Federation gateway written in TypeScript but I'd like to re-write it in Rust. I'm not sure how, and an example here would really help.

@urkle
Copy link

urkle commented Nov 9, 2023

@jamescoleuk FYI. the "rover" package does the following.

  1. grabs the SDL (subgraphs) from each of the nodes and then builds the supergraph
  2. runs the apollo router to run that supergraph.

And that apollow router is written in rust!

https://www.apollographql.com/docs/router/quickstart/
https://github.com/apollographql/router

So, really I don't think there is a need to write another router in rust and instead we can just utilize the one that apollo provides.

The only thing that would be nice is a tool (outside of rover) to compose the supergraph for us :)

Hmm. or make some scripts to use rover supergraph compose to help do 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

2 participants