From 1ca66c63ff3b175d048a0a81719ed70915fa5ee5 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Mon, 12 Feb 2024 14:12:16 -0700 Subject: [PATCH] Remove first proposed fix from ObservableQuery --- src/core/ObservableQuery.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/core/ObservableQuery.ts b/src/core/ObservableQuery.ts index fd83b22b77e..2b42f3b044e 100644 --- a/src/core/ObservableQuery.ts +++ b/src/core/ObservableQuery.ts @@ -248,13 +248,6 @@ export class ObservableQuery< networkStatus, } as ApolloQueryResult; - // QueryInfo calls cache.watch with returnPartialData set to `true` always, - // which means that cache broadcasts for some queries will store the - // lastResult with partial data even though we don't tolerate it. - if (result.partial && !this.options.returnPartialData) { - result.data = void 0 as any; - } - const { fetchPolicy = "cache-first" } = this.options; if ( // These fetch policies should never deliver data from the cache, unless