Sha256: 2682e08b342a6da346bc14ad3dea839a9b49cbaa1ba4ec254ff1c288531092c3

Contents?: true

Size: 380 Bytes

Versions: 14

Compression:

Stored size: 380 Bytes

Contents

module EventSourcery
  module EventStore
    module EventTypeSerializers
      # To support legacy implementations.  Type is provided when initializing
      # the event, not derived from the class constant
      class Legacy
        def serialize(event_class)
          nil
        end

        def deserialize(event_type)
          Event
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
event_sourcery-1.0.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.24.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.23.1 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.23.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.22.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.21.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.20.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.19.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.18.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.17.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.16.1 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.15.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.14.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb
event_sourcery-0.13.0 lib/event_sourcery/event_store/event_type_serializers/legacy.rb