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 generating nodev1.EngineConfiguration from a supergraph #1271

Open
darren-west opened this issue Oct 15, 2024 · 6 comments
Open

Support generating nodev1.EngineConfiguration from a supergraph #1271

darren-west opened this issue Oct 15, 2024 · 6 comments
Labels
internally-reviewed The issue has been reviewed internally.

Comments

@darren-west
Copy link

Hi 👋

I was looking at Cosmo router and was investigating if / how to generate an EngineConfiguration proto message from a Supergraph, so that the gateway could be configured with a supergraph.

I couldnt see any obvious way to achieve this right now, unless I am missing something?

The goal is to be able to pass the router a supergraph and start a cosmo router communicating with subgraphs.

Im guessing this could be possibly be achieved with some of the JavaScript packages although ideally I was looking at using GoLang to achieve it.

Thanks in advance.

Copy link

WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible.
The roadmap is driven by our customers and we have to prioritize issues that are important to them.
You can influence the priority by becoming a customer. Please contact us here.

@StarpTech StarpTech added the internally-reviewed The issue has been reviewed internally. label Oct 22, 2024
@thisisnithin
Copy link
Member

thisisnithin commented Oct 22, 2024

Hi @darren-west , could you please elaborate on your current setup. Are you trying to use Apollo studio with Cosmo Router?

@darren-west
Copy link
Author

Hi @thisisnithin not with Apollo Studio but this is a good use case, I think accepting a supergraph gives the router a lot more flexibility.

I have a supergraph generated by composition and wanted to use this to evaluate the router, without using wundergraph schema registry.

@darren-west
Copy link
Author

Any update on this? I'm quite keen to look into this although it looks quite involved.

@Aenimus
Copy link
Member

Aenimus commented Nov 13, 2024

Hi @darren-west,

This would be a significant development effort. Please can you help me understand the use-case? Is this simply to avoid needing to supply your subgraphs to the composition library to generate an execution config? But why?

@darren-west
Copy link
Author

darren-west commented Nov 13, 2024

Hi @Aenimus

Thanks for getting back to me, my main use case would be to support other schema registries such as Apollo and hive (guild). I quite like the approach of a supergraph for describing a distributed graph, feels like a good fit for a platform agnostic configuration.

What composition library were you mentioning, is there an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internally-reviewed The issue has been reviewed internally.
Projects
None yet
Development

No branches or pull requests

4 participants