TypedGql.Language.VariableDefinition (TypedGql v0.13.0)

Copy Markdown View Source

A variable declared in an operation's signature, with the type it must satisfy and the default it falls back to.

Summary

Types

t()

@type t() :: %TypedGql.Language.VariableDefinition{
  default_value: TypedGql.Language.value_t() | nil,
  directives: [TypedGql.Language.Directive.t()],
  loc: map(),
  type: TypedGql.Language.type_reference_t() | nil,
  variable: TypedGql.Language.Variable.t() | nil
}