Strengthen Task Aggregate Lifecycle #945
zambrovski
started this conversation in
Ideas
Replies: 1 comment
-
Please provide tests for all lifecycle methods |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the task aggregate command handlers are fault-tolerant and doesn't report any errors on wrong actions, but just skip the execution. For example if the user tries to complete a deleted task, no events are fired and the command handler does nothing.
The command handlers should react with corresponding exceptions on violations of task lifecycle (e.g. completion of deleted task).
Beta Was this translation helpful? Give feedback.
All reactions