diff --git a/src/execution/execute.ts b/src/execution/execute.ts index ba7137b4c45..92d6977ed10 100644 --- a/src/execution/execute.ts +++ b/src/execution/execute.ts @@ -2120,14 +2120,6 @@ function executeDeferredGroupedFieldSets( ? Promise.resolve().then(executor) : executor(), ); - } else if ( - deferredFragmentRecords.some( - (deferredFragmentRecord) => deferredFragmentRecord.pending, - ) - ) { - deferredGroupedFieldSetRecord.result = new BoxedPromiseOrValue( - executor(), - ); } else { deferredGroupedFieldSetRecord.result = () => new BoxedPromiseOrValue(executor()); diff --git a/src/execution/types.ts b/src/execution/types.ts index f6358530d69..98ce472081a 100644 --- a/src/execution/types.ts +++ b/src/execution/types.ts @@ -223,7 +223,6 @@ export class DeferredFragmentRecord { deferredGroupedFieldSetRecords: Set; reconcilableResults: Set; children: Set; - pending: boolean; fns: Array<() => void>; constructor( @@ -237,7 +236,6 @@ export class DeferredFragmentRecord { this.deferredGroupedFieldSetRecords = new Set(); this.reconcilableResults = new Set(); this.children = new Set(); - this.pending = false; this.fns = []; } @@ -246,7 +244,6 @@ export class DeferredFragmentRecord { } setAsPending(): void { - this.pending = true; for (const fn of this.fns) { fn(); }