Looking to get some help with setup of APQ’s on the iOS Apollo SDK, using version of Apollo 1.2.2 and when turned on the APQ as:
let transport = RequestChainNetworkTransport(interceptorProvider: provider,
endpointURL: url,
autoPersistQueries: true)
Getting an error on query fetch as:
Apollo/RequestBodyCreator.swift:47: Fatal error: To enable autoPersistQueries, Apollo types must be generated with operationIdentifiers
I did add this snippet to config and re-ran code gen via cli:
"options": {
"operationDocumentFormat" : [
"definition",
"operationId"
]
}