You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, if you use @client in gql subscription response, the field is never populated.
This is probably because subscription responses aren't cached like queries, even though individual types are cached.
However, this is extremely counter intuitive. A subscription response isn't that different from a query response. InMemoryCache should populate the local only fields once after the data is received.
Otherwise it should be clearly stated in the docs that this is not possible, or apollo client should throw if a subscription gql document contains the @client directive.