Cqrs.Command.derive_event
You're seeing just the macro
derive_event
, go back to Cqrs.Command module for more information.
Generates a Elixir.Cqrs.DomainEvent
based on the fields defined in the Elixir.Cqrs.Command
.
Accepts all the options that Elixir.Cqrs.DomainEvent
accepts.