Re: Domain-drive-design vs. Comma n d pattern — mutually exclusive?
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <[email protected]> |
In your concrete Example consider introducing a Conversation AggregateRoot which holds the comments. The Conversation can store the ProjectId, and you can Query Conversations or Comments by ProjectId. This is one way to make the Project model simpler