OnePiece.Commanded.Command (OnePiece.Commanded v0.4.0) View Source
Link to this section Summary
Functions
Converts the module into an Ecto.Schema
, and derive from Jason.Encoder
.
Link to this section Types
Specs
t() :: struct()
Link to this section Functions
Specs
Converts the module into an Ecto.Schema
, and derive from Jason.Encoder
.
Usage
defmodule MyCommand do
use OnePiece.Commanded.Command, aggregate_identifier: :id
embedded_schema do
# ...
end
end