Akash Amin
03/11/2025, 9:03 PM@skip / @include directives affect the normalized cache. The scenario is we have 2 operations query and subscription that use the same fragment, we want some fields to not be subscribed in the subscription as they never change, to do this we added the @skip directive on fields of the fragment. The issue is with Apollo v2 the fields that are skipped from a subscription, they are updated as null on the Apollo store normalized cache and overrides data fetched from the query. Apparently this issue does not happen with Apollo v3. Could you please help understanding what caused this issue/(feature) with Apollo v2 and what was fixed in Apollo v3.mbonnin
03/11/2025, 9:48 PM@include /`@skip` directivesAkash Amin
03/11/2025, 9:53 PMmbonnin
03/11/2025, 9:58 PMmbonnin
03/11/2025, 9:59 PMAkash Amin
03/11/2025, 9:59 PM