Commit 7b46514
committed
Bypass
While new topics can—and should—be deleted in memory, they cannot—and should not—be deleted in the database, as they don't yet exist in the database. We choose not to throw an exception since this is a rare situation that still permits usage of the in-memory functionality of the `TopicRepository`. This satisfies the `Delete()` conditions of #77.DeleteTopic() if IsNew
1 parent bf1c584 commit 7b46514
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
615 | 617 | | |
616 | 618 | | |
617 | 619 | | |
| |||
0 commit comments