API Reference CoseDellaVitaEx v0.0.2
modules
Modules
Functions to map Ecto Changeset errors to GraphQL error types.
An associated entity is invalid, meaning that you are trying to remove or replace an associated entity, but this is not supported.
The field has the wrong format.
The default implementation of interface Error.
The field does not part of predefind set of options
The field has the wrong length.
A session could not be created. Either the user was not found, the user is inactive or the password is wrong.
The specified entity could not be found.
The field's number has the wrong value.
The entity is stale, reload the entity and retry the update. This error should only occur when clients opt-in to optimistic locking by specifying a value for lockVersion in a mutation's input object.
The session could not be refreshed. Either the user was not found or the user is inactive.
At least one of the fields is required.
This field is required.
The provided token parameter is invalid, meaning it could not be decoded, its signature component is wrong or it has expired.
The field must be unique (or unique in combination with something else).
The password is wrong.
Simple helpers that reduce duplicate work for stuff like settign the success field on mutations or adding errors in the correct structure.
Conveniences for translating and building error messages.
Use this module to add functions default_order/0
and default_filters/0
to an Absinthe type module.
Requires a :type
option, and that module attributes @default_order
and @default_filters
have been set.
Map the GraphQL API format for orderBy
filter input fields to the internal format
of Ecto.Query.order_by/3
.
Import all CoseDellaVitaEx types into an existing schema.
Error types. When implemented, makes it possible for clients to query what exactly went wrong
Generic Absinthe types.