translecto v0.3.3 Translecto.Changeset

Convenient changesets to perform validation and casting of translation fields.

Link to this section Summary

Functions

Validate and cast a translatable field

Validate and cast a translation model

Link to this section Types

Link to this section Functions

Link to this function translatable_changeset(struct, params, allowed, opts \\ [])
translatable_changeset(changeset(), %{}, [String.t() | atom()], keyword()) ::
  changeset()

Validate and cast a translatable field.

Link to this function translation_changeset(struct, params, opts \\ [])
translation_changeset(changeset(), %{}, keyword()) :: changeset()

Validate and cast a translation model.