class

KemalcrStarter::Core::Events::DomainEvent

Inherits Reference < Object

Constructors

new(*, event_type : String, aggregate_type : String, aggregate_id : String, correlation_id : String | Nil = nil, causation_id : String | Nil = nil)
Source

Class methods

from_json(json : String) : NamedTuple(event_id: String, event_type: String, aggregate_type: String, aggregate_id: String, timestamp: String, correlation_id: String | Nil, causation_id: String | Nil, data: JSON::Any)
Source

Instance methods

aggregate_id
Source
aggregate_type
Source
causation_id
Source
correlation_id
Source
event_data
Source
event_id
Source
event_type
Source
timestamp
Source
to_json
Source