Skip to content

Commit

Permalink
Revert "Ensure getResultsFromLink writes results using original optio…
Browse files Browse the repository at this point in the history
…ns."

This reverts commit b4ffcb6
  • Loading branch information
MrDoomBringer committed Nov 8, 2022
1 parent 4e0d977 commit 7aab83f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/core/QueryManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import {
makeUniqueId,
isDocumentNode,
isNonNullObject,
cloneDeep,
} from '../utilities';
import { ApolloError, isApolloError } from '../errors';
import {
Expand Down Expand Up @@ -1038,10 +1037,6 @@ export class QueryManager<TStore> {
): Observable<ApolloQueryResult<TData>> {
const requestId = queryInfo.lastRequestId = this.generateRequestId();

// Make sure we write the result below using the same options we were given,
// even though the input object may have been modified in the meantime.
options = cloneDeep(options);

// Performing transformForLink here gives this.cache a chance to fill in
// missing fragment definitions (for example) before sending this document
// through the link chain.
Expand Down

0 comments on commit 7aab83f

Please sign in to comment.