---
answer: direct
beat: dev-practices
source: 1 article · updated: November 13, 2026
---

What is an aggregate root and why does it matter?

An aggregate is a cluster of related objects treated as one unit for data changes, with one entity, the root, as the only entry point. Outside code references the root only, and the root enforces invariants across the whole cluster. This is the unit you load, save and keep consistent in a single transaction.

Answered in

Entities, Value Objects, Aggregates: DDD's Building Blocks via Their Hardest Questions

How do you compare two entities? Two value objects? What does an aggregate protect? DDD's building blocks, explained by the question each one answers.

Crashtech Editorial November 13, 2026 Development Best Practices

Read the full analysis

Other questions this article answers

More development best practices questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the Development Best Practices beat.