# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
CreateJSONSocket is deprecated.
CreateJSONSocketWithMutationSchema is deprecated.
No description provided by the author
Flatten takes a SelectionSet and flattens it into an array of selections with unique aliases
A GraphQL query (the SelectionSet) is allowed to contain the same key multiple times, as well as fragments.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewImmediateGoroutineScheduler creates a new batch execution scheduler that executes all Units immediately in their own goroutine.
No description provided by the author
Parse parses an input GraphQL string into a *Query
Parse validates that the query looks syntactically correct and contains no cycles or unused fragments or immediate conflicts.
PrepareQuery checks that the given selectionSet matches the schema typ, and parses the args in selectionSet.
No description provided by the author
No description provided by the author
No description provided by the author
SanitizeError returns a sanitized error message for an error.
ServeJSONSocket is deprecated.
ShouldIncludeNode validates and checks the value of a skip or include directive.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithMinRerunIntervalFunc is deprecated.
No description provided by the author
No description provided by the author
WrapAsSafeError wraps an error into a "SafeError", and takes in a message.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
A Directive can be attached to a field or fragment inclusion, and can affect execution of the query in any way the server desires.
Enum is a leaf value.
BatchExecutor is a GraphQL executor.
Field knows how to compute field values of an Object
Fields are responsible for computing their value themselves.
A Fragment represents a reusable part of a GraphQL query
The On part of a Fragment represents the type of source object for which this Fragment should be used.
No description provided by the author
List is a collection of other values.
NonNull is a non-nullable other value.
Object is a value with several fields.
No description provided by the author
No description provided by the author
Scalar is a leaf value.
No description provided by the author
A selection represents a part of a GraphQL query
The selection
me: user(id: 166) { name }
has name "user" (representing the source field to be queried), alias "me" (representing the name to be used in the output), args id: 166 (representing arguments passed to the source field to be queried), and subselection name representing the information to be queried from the resulting object.
SelectionSet represents a core GraphQL query
A SelectionSet can contain multiple fields and multiple fragments.
Union is a option between multiple types.
WorkUnit is a set of execution work that will be done when running a graphql query.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Type represents a GraphQL type, and should be either an Object, a Scalar, or a List.
WorkScheduler is an interface that can be provided to the BatchExecutor to control how we traverse the Execution graph.
# Type aliases
No description provided by the author
A BatchResolver calculates the value of a field for a slice of objects.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A Resolver calculates the value of a field of an object.
UnitResolver is a function that executes a function and returns a set of new work units that need to be run.