View Source EctoJuno.Helpers.SortingParams (ecto_juno v0.1.0)

Validator module for sorting parameters

Link to this section Summary

Functions

Validation function. Relies on Ecto.Changeset. In the end invokes apply_action!/2. But it should never raise

Link to this section Functions

Link to this function

changeset!(attrs, schema_or_list)

View Source
@spec changeset!(map(), atom() | list()) :: map()

Validation function. Relies on Ecto.Changeset. In the end invokes apply_action!/2. But it should never raise