wundergraph / cosmo

The open-source solution to building, maintaining, and collaborating on GraphQL Federation at Scale. The alternative to Apollo Studio and GraphOS.
https://cosmo-docs.wundergraph.com/
Apache License 2.0
750 stars 107 forks source link

Is it possible to access composed super graph schema inside module? #449

Open voslartomas opened 10 months ago

voslartomas commented 10 months ago

Component(s)

router

Is your feature request related to a problem? Please describe.

We need to have access to composed supergraph, to be able to find out some information about directives, queries etc.

Describe the solution you'd like

If we can have access either to already parsed or just string/file supergraph it would be great.

Describe alternatives you've considered

No response

Additional context

No response

github-actions[bot] commented 10 months ago

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.

jensneuse commented 10 months ago

Hey, it's currently not possible but from a technical standpoint there's nothing against it. It makes sense to enable this. I currently cannot commit to any timeline, but we're definitely open to the idea. If you're able to contribute a solution via a PR, that could also speed up things.