TypedGql.Language.FieldDefinition (TypedGql v0.13.0)

Copy Markdown View Source

A field declared on an object or interface type, with the arguments it accepts and the type it returns.

Summary

Types

t()

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