-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
事件总线优化 #715
Comments
1.领域事件你可以尝试一下继承IntegrationDomainEvent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
事件总线优化,
1.AggregateRoot的AddDomainEvent方法,目前限制只能是IDomainEvent,希望开放为IEvent,以便直接添加IIntegrationEvent事件,目前需要新建一共空的IDomainEvent类继承IIntegrationEvent事件才能添加,导致很多空类,造成代码冗余。
2.IEventBus希望可以扩展两个方法,本地事件和集成事件分开发布,目前处理集成事件时,需要新建本地事件包装才能处理,导致代码冗余
The text was updated successfully, but these errors were encountered: