Skip to content

Commit

Permalink
reword docs
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed May 12, 2023
1 parent d25fa4f commit 0e7697e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/docs/getting-started/1-create-your-aggregate-root.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ permalink: /docs/getting-started/create-aggregate-root/
title: Create an Aggregate Root
---

Our first step is to create an event-sourced aggregate root. This is the software model
we'll create that internally uses events. The aggregate root has functionality to rebuild
itself from stored events. It also has functionality to record and expose new events.
Our first step is to create an event-sourced aggregate root. This is the domain model
we'll create that internally uses events. An aggregate root constructs itself from a
series of historical events. Inset of mutating properties directly, it uses events to
capture what is happening.

Simplified, you can say that a `historical events => model` and `model + action = new events`.

EventSauce represents an aggregate root internally as an interface. Your model will be an
implementation of that interface. To make it easy, a default implementation is supplied in
Expand Down

0 comments on commit 0e7697e

Please sign in to comment.