Ecto.ParameterizedType.dump

You're seeing just the callback dump, go back to Ecto.ParameterizedType module for more information.
Link to this callback

dump(value, dumper, params)

View Source

Specs

dump(value :: any(), dumper :: function(), params()) ::
  {:ok, value :: any()} | :error

Dumps the given term into an Ecto native type.

It receives a dumper function in case the parameterized type is also a composite type. In order to dump the inner type, the dumper must be called with the inner type and the inner value as argument.

For more information on dumping, see Ecto.Type.dump/1. Note that this callback will be called when dumping a nil value, unlike Ecto.Type.dump/1.