TypedGql.Language.Fragment (TypedGql v0.13.0)

Copy Markdown View Source

A named fragment definition: a type condition and the selections it contributes wherever it is spread.

Summary

Types

t()

@type t() :: %TypedGql.Language.Fragment{
  description: String.t() | nil,
  directives: [TypedGql.Language.Directive.t()],
  loc: map(),
  name: String.t() | nil,
  selection_set: TypedGql.Language.SelectionSet.t() | nil,
  type_condition: TypedGql.Language.NamedType.t() | nil
}