Replies: 1 comment 2 replies
-
In my opinion the CancelEvent should be raised by the entity after verifing that the event is cancellable, then you will have a EventHandler for said event. |
Beta Was this translation helpful? Give feedback.
2 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.
-
Where should domain events live?
For example, if I have cancel appointment.
Appt.Cancel();
Should the cancel domain event happen in the Entity, or should it happen in the command handler that is receiving a cancellation request?
Beta Was this translation helpful? Give feedback.
All reactions