Closed chriscz closed 3 years ago
I set up active_event_store according to the instructions:
active_event_store
ActiveSupport.on_load :active_event_store do |store| store.subscribe MyEventHandler, to: ProfileCreated end
I expected the on_load block to be executed.
on_load
The block doesn't execute
to_prepare
ActiveEventStore.event_store
Ruby Version: 2.5.8
Framework Version (Rails, whatever): Rails 5.2.4.4
Active Event Store Version: 0.2.0
Thanks for the reproduction! Checking now.
Fixed and released in 0.2.1
What did you do?
I set up
active_event_store
according to the instructions:What did you expect to happen?
I expected the
on_load
block to be executed.What actually happened?
The block doesn't execute
Additional context
to_prepare
block on the applicationActiveEventStore.event_store
has been initialized.Environment
Ruby Version: 2.5.8
Framework Version (Rails, whatever): Rails 5.2.4.4
Active Event Store Version: 0.2.0