TypedGql.Language.InputValueDefinition (TypedGql v0.13.0)

Copy Markdown View Source

An input position — an argument or an input object field — with the type it accepts and the default it falls back to.

Summary

Types

t()

@type t() :: %TypedGql.Language.InputValueDefinition{
  default_value: TypedGql.Language.value_t() | nil,
  description: String.t() | nil,
  directives: [TypedGql.Language.Directive.t()],
  loc: map(),
  name: String.t() | nil,
  type: TypedGql.Language.type_reference_t() | nil
}