Cqrs.ValueObject.handle_validate
You're seeing just the callback
handle_validate
, go back to Cqrs.ValueObject module for more information.
Specs
handle_validate( Ecto.Changeset.t(), keyword() ) :: Ecto.Changeset.t()
Allows one to define any custom data validation aside from casting and requiring fields.
This callback is optional.
Invoked when the new()
or new!()
function is called.