-
Notifications
You must be signed in to change notification settings - Fork 653
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
useHttpGetMethodForQueries is not working #1317
Comments
This flag is used for queries only. Mutations are not supported. Are you sure that query operations still sent as POST? |
yes, i am using query operations and all query sent as POST |
I find out in RealApolloCall.java at line 119 - 121
should be like as below prepareInterceptorChain is using useHttpGetMethodForQueries, but useHttpGetMethodForQueries is not assigning value until line 121
|
I tried to move up |
The above code seems have been fixed at 3eafed9 in Master. However, for issue we really wanna do is integrate APQs with CDN which requires HttpGetMethod. |
Fixed. |
I want to using HTTP GET method for Auto Persisted Queries, but all requests still using POST method even I set useHttpGetMethodForQueries = true
ApolloClient.builder().useHttpGetMethodForQueries(true).enableAutoPersistedQueries(true)
The text was updated successfully, but these errors were encountered: