Strukt.change

You're seeing just the callback change, go back to Strukt module for more information.

Specs

See change/2

Specs

change(Ecto.Changeset.t() | term(), Keyword.t() | map()) :: Ecto.Changeset.t()

This callback can be overridden to provide custom change behavior.

The default implementation provided for you creates a changeset and applies all of the inline validations defined on the schema.

NOTE: It is recommended that if you need to perform custom validations, that you override validate/1 instead. If you need to override this callback specifically for some reason, make sure you call super/2 at some point during your implementation to ensure that validations are run.