ExShopifySchema.EctoTypes.Enum (ExShopifySchema v2025.4.3)
View SourceEcto type for GraphQL Enum types. It's a workaround for backward-compatibility.
You can control how the enum values are handled by:
config :ex_shopify_schema, :ecto_types, enum: :string
The default is :atom
, which means that the enum values are treated as atom.
Summary
Functions
Callback implementation for Ecto.ParameterizedType.cast/2
.
Callback implementation for Ecto.ParameterizedType.dump/3
.
Callback implementation for Ecto.ParameterizedType.format/1
.
Callback implementation for Ecto.ParameterizedType.init/1
.
Callback implementation for Ecto.ParameterizedType.load/3
.
Callback implementation for Ecto.ParameterizedType.type/1
.
Functions
Callback implementation for Ecto.ParameterizedType.cast/2
.
Callback implementation for Ecto.ParameterizedType.dump/3
.
Callback implementation for Ecto.ParameterizedType.format/1
.
Callback implementation for Ecto.ParameterizedType.init/1
.
Callback implementation for Ecto.ParameterizedType.load/3
.
See Ecto.Enum.mappings/2
.
Callback implementation for Ecto.ParameterizedType.type/1
.
See Ecto.Enum.values/2
.