translecto v0.3.3 Translecto.Changeset
Convenient changesets to perform validation and casting of translation fields.
Link to this section Summary
Link to this section Types
Link to this type
changeset()
changeset() :: Ecto.Schema.t() | Ecto.Changeset.t() | {Ecto.Changeset.data(), Ecto.Changeset.types()}
Link to this section Functions
Link to this function
translatable_changeset(struct, params, allowed, opts \\ [])
Validate and cast a translatable field.
Link to this function
translation_changeset(struct, params, opts \\ [])
Validate and cast a translation model.