Re: Value object with set of aggregate roots?
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <[email protected]> |
There are many other modeling concepts beyond value objects and entities. Also, I dont like to think about value object as something which is immutable (even if mostly implementations are), but rather as something without identity. That said, I would assume you want to persist that information which I would model in Revenj as domain event with a list of aggregate roots. This way you would save a snapshot of those aggregates within specific domain event. If you are just sending it to someone else then it would translate to an value object, although it would be implemented as report within Revenj. Notice also that you are passing bounded context. This means that your list of aggregates from one context can be translated to a list of value objects in another. Regards, Rikard ------------------------------------ Posted by: [email protected] ------------------------------------ ------------------------------------ Yahoo Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/domaindrivendesign/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/domaindrivendesign/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo Groups is subject to: https://info.yahoo.com/legal/us/yahoo/utos/terms/