Closed happylinks closed 7 years ago
This issue has been automatically marked as stale becuase it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Apollo Client!
I'm keeping it alive for now. Will probably pick it up myself when I have the time. (Any hints would be nice though)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Apollo Client!
This issue has been automatically closed because it has not had recent activity after being marked as stale. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to Apollo Client!
Intended outcome: GraphQL queries that use type( should also get the typename added to them automatically. Correct query should be:
Actual outcome: When you have a query like:
The __typename will not be added in the correct places. (see first query) This causes persisted queries to not work anymore for these specific queries; it will not find the query in the query map.
How to reproduce the issue: Check it here: https://codesandbox.io/s/voxg0yAnm
Temporary solution: Add typename to the type queries yourself.
Version
Related Github Issues: https://github.com/sysgears/persistgraphql-webpack-plugin/issues/11 https://github.com/apollographql/apollo-client/pull/228