ExShopifySchema.EctoTypes.Enum (ExShopifySchema v2024.7.7)

View Source

Ecto 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

Types

t()

@type t() :: atom()