Class: RubyEventStore::Mappers::JSONMapper

Inherits:
Default show all
Defined in:
lib/ruby_event_store/mappers/json_mapper.rb

Instance Method Summary collapse

Methods inherited from PipelineMapper

#event_to_record, #record_to_event

Constructor Details

#initialize(events_class_remapping: {}) ⇒ JSONMapper

Returns a new instance of JSONMapper.



6
7
8
9
10
11
12
13
# File 'lib/ruby_event_store/mappers/json_mapper.rb', line 6

def initialize(events_class_remapping: {})
  warn <<~EOW
    Please replace RubyEventStore::Mappers::JSONMapper with RubyEventStore::Mappers::Default

    They're now identical and the former will be removed in next major release.
  EOW
  super
end