TypedGql.Language.OperationDefinition (TypedGql v0.13.0)

Copy Markdown View Source

A query, mutation or subscription operation, whether written with the operation keyword or in the shorthand selection-set form.

Summary

Types

t()

@type t() :: %TypedGql.Language.OperationDefinition{
  description: String.t() | nil,
  directives: [TypedGql.Language.Directive.t()],
  loc: map(),
  name: String.t() | nil,
  operation: atom() | nil,
  selection_set: TypedGql.Language.SelectionSet.t() | nil,
  shorthand: boolean() | nil,
  variable_definitions: [TypedGql.Language.VariableDefinition.t()]
}