Commit bf1c584
committed
Bypass
While new topics can—and should—be moved in memory, they cannot—and should not—be moved in the database. This is true if the topic is new, the parent is new, or even if the sibling is new, as such operations will fail until they are saved. 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 `Move()` conditions of #77.MoveTopic if IsNew
1 parent 854299a commit bf1c584
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
519 | 521 | | |
520 | 522 | | |
521 | 523 | | |
| |||
0 commit comments