wundergraph / cosmo

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

request: Support HTTP GET for persisted queries #796

Open jeffutter opened 2 weeks ago

jeffutter commented 2 weeks ago

Component(s)

router

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

To facilitate CDN caching, we would like to have support for requesting persisted queries via HTTP Get requests.

Furthermore, some of our existing clients use this scheme and without this ability, a seamless migration to cosmo is not possible.

Describe the solution you'd like

We would like to see something similar to https://graphql.org/learn/serving-over-http/#get-request but supporting persisted queries.

Specifically supporting URLs like: https://domain.com/graphql/persisted_queries/:query_hash with variables as a query argument, the value of which is a JSON encoded map of variables.

Describe alternatives you've considered

No response

Additional context

No response

github-actions[bot] commented 2 weeks 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.