Skip to main content
7 events
when toggle format what by license comment
Sep 25, 2019 at 16:02 comment added Ewan because the computer is the parent object. car is a child object. if you load a car you have to load a computer which has to load all cars. so computer is the root
Sep 25, 2019 at 15:50 comment added user290239 Ewan, sorry, could you please elaborate? The main entity for this aggregate is Car and the entity which is supposed to depend upon other to exist is Computer. Why would Computer be the aggregation root? Many thanks!
Sep 25, 2019 at 15:36 comment added Ewan @danieldeveloper001 Computer is the AR
Sep 25, 2019 at 14:15 comment added user290239 Fixed the question, you are correct, it should be "Car is the aggregation root" and "Car and Computer are in the same aggregate" ;)
Sep 25, 2019 at 14:13 comment added user290239 In time, just for clarifying, in the example, the Car is indeed the only aggregation root and Computer only exists within the Car :)
Sep 25, 2019 at 14:13 comment added user290239 Ewan, the entire graph loading is actually a desired behaviour for this system, it will be lazily loaded as required, so if it doesn't hurt the aggregation, we are fine with it, thank you for the explanation!
Sep 25, 2019 at 13:44 history answered Ewan CC BY-SA 4.0