ExShopifySchema.Generator.Graphql.Introspection.Definition.EnumType (ExShopifySchema v2024.4.3)
View SourceEnum types describe the set of possible values.
https://spec.graphql.org/October2021/#sec-Enums
Example introspection payload
{
"kind": "ENUM",
"name": "ResourceOperationStatus",
"description": "Represents the state of this catalog operation.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "CREATED",
"description": "Operation has been created.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ACTIVE",
"description": "Operation is currently running.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "COMPLETE",
"description": "Operation is complete.",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
}
Summary
Types
@type t() :: %ExShopifySchema.Generator.Graphql.Introspection.Definition.EnumType{ description: String.t() | nil, directives: [ ExShopifySchema.Generator.Graphql.Introspection.Definition.ConstDirective.t() ], name: String.t(), values: [ ExShopifySchema.Generator.Graphql.Introspection.Definition.EnumValue.t() ] }