LaravelEventSauce
LaravelEventSauce copied to clipboard
Properly implement aggregate root versioning
We'll need to properly implement versioning in the database table and retrieve it from the last record in the retrieveAll
method of the LaravelMessageRepository
and also implement the retrieveAllAfterVersion
method.
@driesvints do you have some specific ideas on this?
Version would be just an (not auto) incrementing int right?
@sandervanhooft it's been quite a while since I worked on the library and probably won't have time to check into this soon, sorry. I still plan on working on it eventually but don't know when I'll get to it.
No problem!
And I yet have to encounter my first concurrency issue with this.