StrawHat v0.5.0 StrawHat.Ecto.Changeset View Source
Some utils functions around Ecto.Changeset
Link to this section Summary
Functions
A helper that transform changeset errors to a map of messages
Link to this section Functions
Link to this function
transform_to_map(changeset)
View Source
transform_to_map(changeset)
View Source
transform_to_map(Ecto.Changeset.t()) :: map()
transform_to_map(Ecto.Changeset.t()) :: map()
A helper that transform changeset errors to a map of messages.