Re: Sharing Aggregate Roots between Bounded Contexts
"wonderfulworldofpingpong" <[email protected]>
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <[email protected]> |
You are right on my struggle with the SRP. I should be keeping the BCs separate and communicating each other. Thanks for the reply. --- In [email protected], "udidahan7" <thesoftwaresimplist@...> wrote: > > The reason you're having issues with separation of responsibility and coupling is the assumption that a given BC needs to do everything with a user. Instead, consider a composite UI where there can be multiple BCs interacting with the user simultaneously. > > In short, the points/payments BC would always be there - knowing how many points a user has as well as what the required number of points someone has to have in order to access a given "area". > > Cheers, > > Udi ------------------------------------