OnePiece.Commanded.ValueObject (OnePiece.Commanded v0.1.3) View Source
Link to this section Summary
Functions
Converts the module into an Ecto.Schema
, and derive from Jason.Encoder
.
Link to this section Functions
Specs
__using__(opts :: []) :: any()
Converts the module into an Ecto.Schema
, and derive from Jason.Encoder
.
Usage
defmodule MyValueObject do
use OnePiece.Commanded.ValueObject
embedded_schema do
# ...
end
end