ExShopifySchema.Generator.Graphql.Introspection.Definition.OperationType (ExShopifySchema v2024.4.3)
View SourceThere are three types of operations that GraphQL models:
- query – a read-only fetch.
- mutation – a write followed by a fetch.
- subscription – a long-lived request that fetches data in response to source events.
https://spec.graphql.org/October2021/#sec-Language.Operations
Summary
Types
@type operation_type() :: :query | :mutation | :subscription
@type t() :: %ExShopifySchema.Generator.Graphql.Introspection.Definition.OperationType{ operation: operation_type(), type: ExShopifySchema.Generator.Graphql.Introspection.Definition.NamedType.t() }