LaravelEventSauce icon indicating copy to clipboard operation
LaravelEventSauce copied to clipboard

Properly implement aggregate root versioning

Open driesvints opened this issue 4 years ago • 4 comments

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 avatar Mar 12 '20 16:03 driesvints

@driesvints do you have some specific ideas on this?

sandervanhooft avatar Jul 23 '20 14:07 sandervanhooft

Version would be just an (not auto) incrementing int right?

sandervanhooft avatar Jul 23 '20 14:07 sandervanhooft

@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.

driesvints avatar Jul 23 '20 14:07 driesvints

No problem!

And I yet have to encounter my first concurrency issue with this.

sandervanhooft avatar Jul 23 '20 14:07 sandervanhooft