CleanArchitecture
CleanArchitecture copied to clipboard
DomainEvents created as a result of an EventHandler should also be published
I think it should be possible for additional DomainEvents to occur while processing DomainEvents. Currently there is only one iteration over the list of events, so additional DomainEvents that occur are not published. This PR is trying to change that behavior.