Skip to content

Commit 9b32799

Browse files
committed
incremental delivery: without branching, with deduplication
1 parent dd9de11 commit 9b32799

File tree

8 files changed

+1608
-709
lines changed

8 files changed

+1608
-709
lines changed

src/execution/__tests__/defer-test.ts

+182-271
Large diffs are not rendered by default.

src/execution/__tests__/mutations-test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,13 @@ describe('Execute: Handles mutation execution ordering', () => {
242242
{
243243
incremental: [
244244
{
245-
label: 'defer-label',
246245
path: ['first'],
247246
data: {
248247
promiseToGetTheNumber: 2,
249248
},
250249
},
251250
],
251+
completed: [{ path: ['first'], label: 'defer-label' }],
252252
hasNext: false,
253253
},
254254
]);
@@ -317,7 +317,6 @@ describe('Execute: Handles mutation execution ordering', () => {
317317
{
318318
incremental: [
319319
{
320-
label: 'defer-label',
321320
path: [],
322321
data: {
323322
first: {
@@ -326,6 +325,7 @@ describe('Execute: Handles mutation execution ordering', () => {
326325
},
327326
},
328327
],
328+
completed: [{ path: [], label: 'defer-label' }],
329329
hasNext: false,
330330
},
331331
]);

0 commit comments

Comments
 (0)