-
Notifications
You must be signed in to change notification settings - Fork 743
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
Queries fails with missingValue error all time after Apollo migration to 1.x version #2975
Comments
Seeing the same issue after updating from 1.0.5 to 1.1.2 ( |
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 |
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 |
Thanks. #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?
The text was updated successfully, but these errors were encountered: