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

Add support for persisted queries in cosmo router running on bare metal #1232

Open
ayushs-2k4 opened this issue Oct 1, 2024 · 2 comments
Open
Labels
enhancement New feature or request internally-reviewed The issue has been reviewed internally.

Comments

@ayushs-2k4
Copy link

Component(s)

router

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

How to use local storage for persisted queries in cosmo router (running on bare metal) and also how to provide "operationManifest.json" at the start to register queries, mutations, subscriptions.

Currently, there seems to be no way to use persisted queries when running cosmo router locally (on bare metal, macOS).

Describe the solution you'd like

There should be a command to register persisted queries or we can do something like Apollo Server, they give us an option to handle persisted queries cache completely, so we can just make methods like get, put, etc to get query form hash or check if it exists or not or even add a new query to DB, and it is upto us how we manage queries (whether use in-memory, or use some DB or even simple JSON file!)

Describe alternatives you've considered

There is currently no alternative to Persisted queries.

Additional context

No response

@ayushs-2k4 ayushs-2k4 added the enhancement New feature or request label Oct 1, 2024
Copy link

github-actions bot commented Oct 1, 2024

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 8, 2024
@flymedllva
Copy link
Contributor

I would generally like to be able to write a custom implementation of Persisted Queries, as just a JSON file won't work for me and we want to keep these operations in our repository, updating them constantly

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

No branches or pull requests

3 participants