Closed alex-laycalvert closed 1 month ago
@oskardudycz thank you for all you do
The original code specified that
handleOptions
was of the typeHandleOptions<StreamVersion, EventStore<...>>
using the emmettEventStore
instead of the genericStore
. This prevented TS from allowing you to pass any custom options from a custom implementation of event store to the command handler.This fixes what I assume was a typo and allows you to have custom options again.
Yup, that was my copy/paste mistake; I apologise for that and thank you for fixing it. I'm pulling that in and making the new release.
@oskardudycz thank you for all you do
I thank you; you've made my day with this comment ❤️
The original code specified that
handleOptions
was of the typeHandleOptions<StreamVersion, EventStore<...>>
using the emmettEventStore
instead of the genericStore
. This prevented TS from allowing you to pass any custom options from a custom implementation of event store to the command handler.This fixes what I assume was a typo and allows you to have custom options again.