Commit 1d038d6
committed
do not emit pending for empty non-published subsequent results
The publish method checks to see if a subsequent result is empty; this same logic should be employed to suppress pending notices for empty records.
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.1 parent 0b7590f commit 1d038d6
File tree
2 files changed
+76
-21
lines changed- src/execution
- __tests__
2 files changed
+76
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
307 | 308 | | |
308 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
309 | 313 | | |
310 | 314 | | |
311 | 315 | | |
312 | 316 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
| 317 | + | |
323 | 318 | | |
324 | 319 | | |
325 | 320 | | |
| |||
542 | 537 | | |
543 | 538 | | |
544 | 539 | | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
550 | 543 | | |
551 | | - | |
552 | 544 | | |
553 | 545 | | |
554 | 546 | | |
| |||
655 | 647 | | |
656 | 648 | | |
657 | 649 | | |
658 | | - | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
659 | 653 | | |
660 | 654 | | |
661 | 655 | | |
662 | | - | |
| 656 | + | |
| 657 | + | |
663 | 658 | | |
664 | 659 | | |
665 | | - | |
666 | | - | |
| 660 | + | |
| 661 | + | |
667 | 662 | | |
668 | 663 | | |
669 | 664 | | |
| |||
673 | 668 | | |
674 | 669 | | |
675 | 670 | | |
| 671 | + | |
| 672 | + | |
676 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
677 | 678 | | |
678 | 679 | | |
679 | 680 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
566 | 568 | | |
567 | 569 | | |
568 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
569 | 623 | | |
570 | 624 | | |
571 | 625 | | |
| |||
0 commit comments