Re: Populating new aggregates

"[email protected] [domaindrivendesign]" <[email protected]> 08 Sep 2015 06:43:24 -0700
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <[email protected]>
 

---In [email protected], <trin@...> wrote :

 I concur that they should always be consistent. I use an ORM that can lazy load, so the aggregate isn't necessarily fully loaded in reality, although practically it is.
 When I create my aggregates, I always give it full objects, not id's to other objects.
 

 => So, if you don't have the full objects at hand, only the id, do you read the objects from database and add them to the aggregate before saving? Is this ok for performance?