Skip to content

Commit

Permalink
Remove first proposed fix from ObservableQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Feb 12, 2024
1 parent 5d70cd8 commit 1ca66c6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/core/ObservableQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,6 @@ export class ObservableQuery<
networkStatus,
} as ApolloQueryResult<TData>;

// 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
Expand Down

0 comments on commit 1ca66c6

Please sign in to comment.