-
Notifications
You must be signed in to change notification settings - Fork 359
[client] Allow Automatic Persisted Queries #1640
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
Comments
Hi @samuelAndalon
Add interface AutomaticPersistedQueriesSettings<T : Any> {
val enabled: Boolean
val httpMethodForHashedQueries: T
val httpMethodForDocumentQueries: T Add the interface GraphQLClient<RequestCustomizer> {
val automaticPersistedQueriesSettings: AutomaticPersistedQueriesSettings<*>
...
} Add the interface GraphQLClientRequest<T : Any> {
...
val extensions: Any?
get() = null
...
} |
Hello, the plan is to enable this from a flag, i think thats the only thing we can let clients to configure, regarding the hash, it has to be sha256 and pretty much follow this pattern https://opensource.expediagroup.com/graphql-kotlin/docs/server/automatic-persisted-queries/ |
@samuelAndalon |
Hi @samuelAndalon |
### 📝 Description - add apq interfaces to client - add apq implementation to ktor client - add apq implementation to spring client ### 🔗 Related Issues #1640
Resolved in #1802 |
Is your feature request related to a problem? Please describe.
graphql-kotlin-server recently added Automatic Persisted Queries to allow clients to send a hash representation of a graphQL operation instead of the actual query string.
Describe the solution you'd like
Allow graphql-kotlin-client to implement APQ requests
The text was updated successfully, but these errors were encountered: