serverlesstechnology / cqrs

A lightweight, opinionated CQRS and event sourcing framework.
Other
370 stars 40 forks source link

Add upcaster configuration for event replay #80

Closed davegarred closed 11 months ago

davegarred commented 11 months ago

Add optional event upcasters inline with PersistedEventRepository::stream_events and PersistedEventRepository::stream_all_events to simplify event replay.

davegarred commented 11 months ago

Reference: https://github.com/serverlesstechnology/cqrs/discussions/79

davegarred commented 11 months ago

Completed by @rogierknoester

Ref: https://github.com/serverlesstechnology/cqrs/pull/81