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
Uh oh!
There was an error while loading. Please reload this page.
-
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