OnePiece.Commanded.ValueObject (OnePiece.Commanded v0.1.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 Functions

Specs

__using__() :: 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