-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Why are DomainEvents wrapped into Notifications into Ap layer ? #276
Answered
by
LukasKuchta
LukasKuchta
asked this question in
Q&A
-
Hi, why is ther this concept? Wrapped one into another ? Domain event can be handled directly in App layer. Something what i overlooked?
Beta Was this translation helpful? Give feedback.
All reactions
Answered by
LukasKuchta
Aug 20, 2023
OK. I found the explanation on the Kamil's blog. There are two kinds of events
- one is handled inside the same transaction like aggregat's operation
- outside the transaction. Public event / Domain notification. In the same strasaction like aggregate is only save those events into persistenat layer.
Replies: 1 comment
-
OK. I found the explanation on the Kamil's blog. There are two kinds of events
- one is handled inside the same transaction like aggregat's operation
- outside the transaction. Public event / Domain notification. In the same strasaction like aggregate is only save those events into persistenat layer.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2
0 replies
Answer selected by
LukasKuchta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment