Skip to content

Commit f8dd7e7

Browse files
committed
Update comment
1 parent d32427f commit f8dd7e7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/cache/inmemory/inMemoryCache.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,11 @@ export class InMemoryCache extends ApolloCache {
109109
// in development and expected to remain logically immutable in production.
110110
public readonly assumeImmutableResults = true;
111111

112-
// Override the default value since InMemoryCache can handle reading and
113-
// writing incremental results.
112+
// NOTE: Only InMemoryCache should set this value to true. The update is too
113+
// complex to opt-in for 3rd party caches. Once we get to v5, we should
114+
// enforce that caches handle incremental queries correctly which should allow
115+
// us to provide more robust guidance on what to return. Having to maintain
116+
// backwards-compatibility with this flag is too difficult an ask for now.
114117
public readonly [handleIncrementalSymbol] = true;
115118

116119
// Dynamically imported code can augment existing typePolicies or

0 commit comments

Comments
 (0)