DispatchDomainEvents vs SaveChange #758
Unanswered
minhhungit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, from this code:
https://github.com/jasontaylordev/CleanArchitecture/blob/main/src/Infrastructure/Persistence/ApplicationDbContext.cs#L46-L51
I have a question, what will happend if events are dispatched but SaveChanges has exception, do we need something like 'rollback'
Beta Was this translation helpful? Give feedback.
All reactions