← Graph

Prefer policies/strategies over nested aggregates

takeaway 3 connections

When aggregates grow too big, extracting business constraints into policy/strategy objects that can be tested without instantiating the aggregate is preferable to nesting aggregate roots.

type
recommendation
takeaway Prefer policies/strategies over nested aggregates
about
Concerns extraction of logic into policies and strategies.
takeaway Prefer policies/strategies over nested aggregates
about
Advises against using nested aggregates as the primary solution.
takeaway Prefer policies/strategies over nested aggregates
from_talk
Speaker recommends this after discussing nested aggregates.

Provenance