commanded
v0.12.0
Pages
Modules
Protocols
commanded v0.12.0
Commanded.Event.Mapper
Map raw events to event data structs ready to be persisted to the event store.
Summary
Functions
map_from_recorded_event(recorded_event)
map_from_recorded_events(recorded_events)
map_to_event_data(event, correlation_id \\ nil, causation_id \\ nil, metadata \\ %{})
Functions
map_from_recorded_event(recorded_event)
map_from_recorded_events(recorded_events)
map_to_event_data(event, correlation_id \\ nil, causation_id \\ nil, metadata \\ %{})