This pull request enables our event to be defined in proto message. An event message contains the option libs.events.v1.event_type. This option gets evaluated by our event logic to resolve the event type directly from the proto defintion.
I also introduce the concept of an EntityEvent. Those events are quickly raised events in non event sourced services.
This pull request enables our event to be defined in proto message. An event message contains the option
libs.events.v1.event_type
. This option gets evaluated by our event logic to resolve the event type directly from the proto defintion.I also introduce the concept of an EntityEvent. Those events are quickly raised events in non event sourced services.