TypedGql.Schema.TypeRef (TypedGql v0.13.0)

Copy Markdown View Source

A reference to a type in a loaded schema, wrapping a named type in the list and non-null modifiers that apply to it.

Summary

Types

kind()

@type kind() ::
  :scalar
  | :object
  | :interface
  | :union
  | :enum
  | :input_object
  | :list
  | :non_null

t()

@type t() :: %TypedGql.Schema.TypeRef{
  kind: kind(),
  name: String.t() | nil,
  of_type: t() | nil
}