lib/blunt/aggregate_root.ex
defmodule Blunt.AggregateRoot do
@type state :: struct()
@type domain_event :: struct()
@callback apply(state, domain_event) :: state
end
defmodule Blunt.AggregateRoot do
@type state :: struct()
@type domain_event :: struct()
@callback apply(state, domain_event) :: state
end