Closed serbancoroiu closed 1 year ago
Seeing the same issue after updating from 1.0.5 to 1.1.2 (ApolloAPI.JSONDecodingError.missingValue
) for all queries.
Had same issue here, downgrading to 1.0.5 resolved the issue.
We've got @BobaFetters actively looking into this issue, we'll update as soon as we know more - thanks.
The fix for this has been merged into main
and will go out with the next release
The fix for this has been merged into
main
and will go out with the next release
Hi, good day. Tried it in 1.3, in what version is it fix. Thanks!
@psdevss This was fixed in the 1.1.3 release
Ahh quick question, why in my query and generating. typename is always there for every object. Actually trying it in our mockserver and json response works if typename is added on each object
@psdevss not 100% clear what you are asking, this issue and #2955 were caused by __typename
being added to root field types when using custom names for the root fields (Query, Mutation, Subscription), other types should have __typename
generated for them. If you are experiencing an issue I would recommend opening a new issue and providing detailed information on how to reproduce the issue like in #2955
@psdevss not 100% clear what you are asking, this issue and #2955 were caused by
__typename
being added to root field types when using custom names for the root fields (Query, Mutation, Subscription), other types should have__typename
generated for them. If you are experiencing an issue I would recommend opening a new issue and providing detailed information on how to reproduce the issue like in #2955
Thanks. https://github.com/apollographql/apollo-ios/issues/3030. Created this question
Question
I am trying to update the Apollo dependency for one of my projects from 0.53.0 to 1.x and I have some issues with it. For schema management and code generation I have used
apollo-ios-cli
.After updating my classes to fix some errors generated by different type names or missing
ApolloAPI
import the project is building & running again, but each time when I'm calling any query it ends up with the following error:GraphQLExecutionError(path: __typename, underlying: ApolloAPI.JSONDecodingError.missingValue)
After I've looked into it a bit deeper, I've found that backend is returning data as needed but the app throws an error in the
JSONResponseParsingInterceptor
, on theparseResult
method. No matter what type ofcachePolicy
I'm using, it always throws an error from bothparseResult
and parseResultFast` methods.Query example:
Any idea?