File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,12 +256,10 @@ class IncrementalPublisher {
256256 if ( completion === undefined ) {
257257 continue ;
258258 }
259- const incremental = context . incremental ;
260259 const { deferredFragmentRecord, newRootNodes, reconcilableResults } =
261260 completion ;
262- const id = deferredFragmentRecord . id ;
263- invariant ( id !== undefined ) ;
264261 context . pending . push ( ...this . _toPendingResults ( newRootNodes ) ) ;
262+ const incremental = context . incremental ;
265263 for ( const reconcilableResult of reconcilableResults ) {
266264 const { deferUsages : resultDeferUsages , path : resultPath } =
267265 reconcilableResult . deferredGroupedFieldSetRecord ;
@@ -285,6 +283,8 @@ class IncrementalPublisher {
285283 }
286284 incremental . push ( incrementalEntry ) ;
287285 }
286+ const id = deferredFragmentRecord . id ;
287+ invariant ( id !== undefined ) ;
288288 context . completed . push ( { id } ) ;
289289 }
290290 }
You can’t perform that action at this time.
0 commit comments