added in 0.38.0
Definition of arguments to a Field.
Returns a map of keyword name to ArgumentDef, or nil.
Implemented by Directive.
Returns a map of keyword name to argument value. May return nil if no arguments.
The value may reflect evaluated query variables or argument defaults.
Returns the type of directive as a keyword.
An element that may contain directives.
Returns a map of directives for this element; keys are keywords identifying the directive, values are a seq of Directive of that type (directives are inherently repeatable).
May return nil.
Returns the name of the field (as an unqualified keyword).
Implemented by the :object and :interface TypeDef kinds to expose the type’s fields.
Returns a map of keyword to Field.
A SelectionSet that extracts a value from a field and records it into the result as a name or alias; for non-scalar types, may have sub-selections.
Directives here are the directives on the selection (the executable directives); access the underlying field to get the type system directives.
A Kind is a root type with qualifiers (list, or non-null). A root kind identifies a TypeDef. A Kind can be converted to a GraphQL type string.
Returns the kind as an GraphQL language string, e.g.
One of :non-null, :list, or :root.
Returns the nested Kind, or nil if a root kind.
Returns the root TypeDef, or nil if not a root kind.
Returns a keyword whose namespace is the containing element; e.g.,
id field of the
A selection that may contain sub-selections.
The type of selection: either :field, :inline-fragment or :named-fragment.
For :field, the FieldSelection protocol will also be implemented.
Returns a seq of sub-selections (also SelectionSets) of this selection.
May be nil for a field that selects a scalar.
A type defined in a GraphQL schema. Implements the Directives protocol as well.
Returns the category of the type, one of:
Returns the name of the type, as a keyword.