Skip to content

Is there a reason why the stored_events table's aggregate_uuid column is nullable? #439

Answered by sebastiandedeyne
rapkis asked this question in Q&A
Discussion options

You must be logged in to vote

It's nullable because you can use our package without aggregate roots. You can dispatch events using Laravel's event system to run them through projectors and reactors if you don't care about encapsulating concepts in aggregate roots.

Here's an (older) example app that doesn't use aggregate roots: https://github.com/spatie/larabank-projectors

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sebastiandedeyne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants