Design Patterns · Senior · Question 30 of 75

What is an Aggregate in DDD?

Explanation

For example, an order with line items: items can be changed only through Order, which enforces invariants (total, limits). An aggregate is a consistency and transaction boundary.

Further reading

Problem with a question

Design Patterns · Senior · question 30

Test yourself

Take the Design Patterns · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz