Packages

Old version of AvroEx for legacy support

Current section

Files

Jump to
avro_ex_v0 lib avro_ex term.ex
Raw

lib/avro_ex/term.ex

defmodule AvroExV0.Term do
@behaviour Ecto.Type
def cast(type), do: {:ok, type}
def load(data), do: {:ok, data}
def dump(data), do: {:ok, data}
def type(), do: :term
end