Closed SalihCanBinboga closed 2 years ago
gql
is adding the property __typename
on every selectionset. It looks like your server doesn't support introspection on the Query
type. Either enable introspection or use another implementation of gql
. If you do not support the __typename
introspection field in general, you can not expect caching to work properly.
@vincenzopalazzo @budde377 But I can add __typename
parameter in my own query manager?w
Okay. I'm not sure what to tell you. The error message is from your server, it complains that you're trying to query Query.__typename
. So you have two options:
__typename
+1 for fix your server
Describe the issue A clear and concise description of what the problem is.
To Reproduce (MUST BE PROVIDED)
When I run the below code snippet I have the below error:
` final HttpLink httpLink = HttpLink( '$baseUrl/graphql', );
query GetCarCategories($parentId: Int!){ getCarCategories(parentId: $parentId) { id title } } ''';
Expected behavior I want to expect clear response.
device / execution context I have tried real device on ios. Remote server.