Skip to content

Commit

Permalink
add stream name notice
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Jan 7, 2025
1 parent 72c1b9f commit 7bc0b6c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/pages/aggregate.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,15 @@ final class Profile extends BasicAggregateRoot

## Stream Name

??? example "Experimental"

This feature is still experimental and may change in the future.
Use it with caution.

!!! warning

The `stream name` works only with the experimental [StreamDoctrineDbalStore](./store.md#streamdoctrinedbalstore).

The stream name is the name of the stream in the event store.
By default, the stream name has the format `aggregateName-aggregateId`.
But you can also define your own stream name with the `Stream` attribute.
Expand Down Expand Up @@ -653,6 +662,15 @@ We currently support two patterns for this: Micro Aggregates and Child Aggregate

### Micro Aggregates

??? example "Experimental"

This feature is still experimental and may change in the future.
Use it with caution.

!!! warning

This feature works only with the experimental [StreamDoctrineDbalStore](./store.md#streamdoctrinedbalstore).

Micro Aggregates are a pattern to split an aggregate into several smaller aggregates.
Each of these aggregates is saved in the same stream.
This gives the Micro Aggregates the ability to independently manage their state and trigger their events,
Expand Down

0 comments on commit 7bc0b6c

Please sign in to comment.