I just upgraded our version of Apollo to 0.15.3 and nearly every query we use has a compile error of
Type 'xxx' does not conform to protocol 'GraphQLOperation'
If I add the Protocol stubs that xCode is suggesting (public var operationName: String), the errors go away. But since this is a dynamically generated file that's obviously not going to work next time I build.
Am I understanding correctly that we'll need to add operationName properties to all of our queries and mutations moving forward? I couldn't find anything in the examples or release notes about this.
I just upgraded our version of Apollo to
0.15.3and nearly every query we use has a compile error ofType 'xxx' does not conform to protocol 'GraphQLOperation'If I add the Protocol stubs that xCode is suggesting (
public var operationName: String), the errors go away. But since this is a dynamically generated file that's obviously not going to work next time I build.Am I understanding correctly that we'll need to add operationName properties to all of our queries and mutations moving forward? I couldn't find anything in the examples or release notes about this.