Open ncphillips opened 4 days ago
Using rails_event_store@2.12.1 or 2.14.0
rails_event_store@2.12.1
2.14.0
I have some ActiveJobs that include RailsEventStore::AsyncHandler.
RailsEventStore::AsyncHandler
Whenever I try to perform a job with them, they explode.
async_handler_helpers.rb:17:in `block (2 levels) in with': undefined method `transform_keys' for #<Videos::CreatedEvent:0x0000000115fb43c8 @event_id="d9c1b31a-f3a6-42ef-abd2-d1fe20363f91", @metadata=#<RubyEventStore::Metadata:0x0000000115fb42b0 @h={ :correlation_id=>"e85483a0-e22a-4b75-ab2c-072e8795f80b", :timestamp=>2024-07-04 12:24:09.191781 UTC, :valid_at=>2024-07-04 12:24:09.191781 UTC }>, @data={:gym_id=>1, :video_id=>10}> (NoMethodError) irb(main):017> Gyms::UpdateMeteredUsageJob.perform_now(event)
Looks like it's happening here
I think this is related to https://github.com/RailsEventStore/rails_event_store/issues/1334
Using
rails_event_store@2.12.1
or2.14.0
I have some ActiveJobs that include
RailsEventStore::AsyncHandler
.Whenever I try to perform a job with them, they explode.
Looks like it's happening here