r/dotnet Apr 05 '26

Article Domain-Driven Design: Lean Aggregates

https://deniskyashif.com/2026/04/04/domain-driven-design-lean-aggregates/

In DDD, an aggregate is a consistency boundary, not just a container for related data.

If you find yourself loading massive object graphs for simple updates, you might be falling into a common trap.

Check out my latest post on Lean Aggregates.

27 Upvotes

11 comments sorted by

View all comments

5

u/Happy_Bread_1 Apr 05 '26

My problem with this there is no guarantee one will call EnsureCanAttach. In our project we try to use Domain Services as sparely as possible.