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

persisted queries #156

Open
csucu opened this issue May 10, 2022 · 1 comment
Open

persisted queries #156

csucu opened this issue May 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@csucu
Copy link

csucu commented May 10, 2022

So my backend services use gqlgen's automatic persisted queries, seems like this isn't compatible with bramble, as the extensions part doesn't make it through. Is there any way to get this to work? or to enable persisted queries in bramble?

@nmaquet
Copy link
Contributor

nmaquet commented May 11, 2022

Bramble doesn't currently support APQ but it sounds like a nice addition. It shouldn't be difficult to add since our GraphQL server implementation is gqlgen and it supports APQ out of the box.

One difficulty you may not have considered is that you'd have to persist the queries somewhere external to Bramble, in something like Redis. All in all, this isn't something we'd add to Bramble's core but it could be a very nice plugin. The plugin API would need to be extended for this (to give access to the handler.Server value) but that's very easy to do.

@pkqk pkqk added the enhancement New feature or request label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants