Commit f77cf59
committed
Accounted for
Previously, the `TopicRepository`'s base `Delete()` class accounted for `Topic.Relationships` by removing any outgoing or incoming relationships that would be affected by the operation, thus ensuring that no orphaned topic references were persisted in memory from other parts of the topic graph. This helps ensure there aren't any legacy references maintained in the cache after a delete.
While this accounted for `Topic.Relationships`, however, it didn't account for the new `Topic.References`. This is corrected in this update.Topic.References on Delete()
1 parent 213a46b commit f77cf59
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
602 | 613 | | |
603 | 614 | | |
604 | 615 | | |
605 | 616 | | |
606 | 617 | | |
607 | 618 | | |
608 | 619 | | |
609 | | - | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
610 | 626 | | |
611 | 627 | | |
612 | 628 | | |
| |||
0 commit comments