dolittle / Home

Dolittle is a platform designed to build Line of Business applications without sacrificing architectural quality, code quality or scalability.
http://www.dolittle.io
MIT License
27 stars 5 forks source link

Investigate the concept of external events #19

Closed einari closed 6 years ago

einari commented 7 years ago

In cases where you have bounded contexts that publish events that gets mediated into another bounded context, these events might not be events that the particular bounded context should ever generate itself. This means that we should safe guard these events and not allow the bounded context to ever generate these. The particular bounded context does not own them.

PS: Mediation here is key to everything - the bounded context wouldn't know about the event from the other place, or where it originates - the mediator knows, and it sits outside of both bounded contexts