Commit 4d783be
committed
don't ever send empty pendings, instead publish the children
This has already been achieved for subsequent results that are children of the initial result, as we generated the pending notices from the list of initially published records.
For subsequent results that are children of other subsequent results, we previously generated the pending notice prior to actually publishing.
This change integrates the logic: the publishing method itself returns a pending notice as required. This results in a bug-fix for subsequent records of other subsequent records as well as a reduction of code for subsequent results to the initial result.
This fix slightly reduces test coverage of one branch, which has been fixed in a workaround. TODO: add back missing test case.1 parent 2aedf25 commit 4d783be
File tree
2 files changed
+48
-52
lines changed- src/execution
- __tests__
2 files changed
+48
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
| 304 | + | |
310 | 305 | | |
311 | 306 | | |
312 | 307 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
| 308 | + | |
323 | 309 | | |
324 | 310 | | |
325 | 311 | | |
| |||
538 | 524 | | |
539 | 525 | | |
540 | 526 | | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
| 527 | + | |
553 | 528 | | |
554 | 529 | | |
555 | 530 | | |
| |||
613 | 588 | | |
614 | 589 | | |
615 | 590 | | |
| 591 | + | |
| 592 | + | |
616 | 593 | | |
617 | 594 | | |
618 | 595 | | |
| |||
655 | 632 | | |
656 | 633 | | |
657 | 634 | | |
658 | | - | |
659 | | - | |
660 | | - | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
661 | 667 | | |
662 | | - | |
663 | 668 | | |
664 | 669 | | |
665 | | - | |
666 | | - | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
667 | 673 | | |
668 | 674 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
| 675 | + | |
| 676 | + | |
676 | 677 | | |
| 678 | + | |
| 679 | + | |
677 | 680 | | |
678 | 681 | | |
679 | 682 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
| 1026 | + | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | | - | |
1033 | 1032 | | |
1034 | 1033 | | |
1035 | 1034 | | |
1036 | 1035 | | |
1037 | 1036 | | |
1038 | | - | |
| 1037 | + | |
1039 | 1038 | | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
1046 | 1039 | | |
1047 | 1040 | | |
1048 | 1041 | | |
1049 | 1042 | | |
1050 | | - | |
| 1043 | + | |
1051 | 1044 | | |
1052 | 1045 | | |
1053 | | - | |
| 1046 | + | |
1054 | 1047 | | |
1055 | 1048 | | |
1056 | 1049 | | |
| |||
0 commit comments