AntlUtilsEcto.Changeset.on_valid_changeset

You're seeing just the function on_valid_changeset, go back to AntlUtilsEcto.Changeset module for more information.
Link to this function

on_valid_changeset(changeset, fun)

View Source

Specs

on_valid_changeset(
  Ecto.Changeset.t(),
  (Ecto.Changeset.t() -> Ecto.Changeset.t())
) ::
  Ecto.Changeset.t()

A helper that allows to apply function on a changeset only if it is valid. Always returns the changeset