serverlesstechnology / cqrs

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

Add upcaster configuration for event replay #80

Closed davegarred closed 1 year ago

davegarred commented 1 year ago

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

davegarred commented 1 year ago

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

davegarred commented 1 year ago

Completed by @rogierknoester

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