Sha256: 33d600a677d8c5113089379caa8460bd7573d02665fa4579a6c68093cffa532b
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true module ActiveEventStore class Mapper < RubyEventStore::Mappers::PipelineMapper def initialize(mapping:) super(RubyEventStore::Mappers::Pipeline.new( RubyEventStore::Mappers::Transformation::SymbolizeMetadataKeys.new, to_domain_event: ActiveEventStore::DomainEvent.new(mapping: mapping) )) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_event_store-1.2.1 | lib/active_event_store/mapper.rb |
active_event_store-1.2.0 | lib/active_event_store/mapper.rb |