Tags

#event-sourcing
event-sourcing

1stories
4 d agolatest
Event Sourcing
Decider over aggregates

Using Event Sourcing? Prefer the Decider over AggregateRoot

Jeremy D. Miller strongly recommends that Event Sourcing developers model domain logic with the Decider pattern instead of the older AggregateRoot pattern. He explains why pure decide functions in Marten and Wolverine handlers are easier to reason about, test and debug. The post is a useful reference for anyone choosing a design for event-sourced .NET systems.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message