marcusolsson / goddd

Exploring DDD in Go
MIT License
2.4k stars 274 forks source link

Question about aggregates #22

Open demamoh opened 6 years ago

demamoh commented 6 years ago

Hello Marcus,

New ddd guy here, and I wanted to ask you if the cargo struct is considered to be an aggregate.

If possible labeling of tactical type in the comments would help as a reference example.

marcusolsson commented 6 years ago

You're right, Cargo is indeed an aggregate. Documenting the type would also be a good idea. I'll try to find the time to update the documentation.

demamoh commented 6 years ago

Thank you.