Local only fields don't work with subscriptions

I followed the steps from Local-only fields in Apollo Client - Apollo GraphQL Docs and in case I use apollo query I get that local field in my graphQl response, however, if I do an apollo subscription there is no such field in the response. Why for subscriptions, fields marked as @client are not even presented in the response? Neither read function (I set into InMemoryCache) is not executed.

Hi @Evgheni_Anachii - this is a known issue that we are tracking. We don’t have a fix yet but please feel free to follow this issue for updates:

1 Like