apollo-kotlin: provided sha does not match query even after disabling enableAutoPersistedQueries for apolloclient
ApolloClient.builder()
.serverUrl(Endpoints.GRAPHQL_BASE_URL)
.httpCache(new ApolloHttpCache(cacheStore))
.defaultHttpCachePolicy(HttpCachePolicy.NETWORK_ONLY)
.addCustomTypeAdapter(CustomType.DATE, getCustomDateAdapter())
.addCustomTypeAdapter(CustomType.CURSOR, getCustomCursorAdapter())
.enableAutoPersistedQueries(false)
.okHttpClient(client)
.build();
Even after disabling persistedqueries() option it still produces the same error and I haven’t been able to make any request.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (4 by maintainers)
Commits related to this issue
- Fix issue with operation id doesn't match the SHA of query Closes https://github.com/apollographql/apollo-android/issues/1161 — committed to sav007/apollo-android by sav007 5 years ago
- Fix issue with operation id doesn't match the SHA of query (#1185) Closes https://github.com/apollographql/apollo-android/issues/1161 — committed to apollographql/apollo-kotlin by sav007 5 years ago
@vthakur1993 would you mind opening up this issue again?
v1.0.0-alpha4
still doesn’t work properly for us, we keep gettingprovided sha does not match query
error.If you:
use this version:
(you probably also want to use a specific plugin version)