# Packages
No description provided by the author
No description provided by the author
No description provided by the author
introspection implements the spec defined in https://github.com/facebook/graphql/blob/master/spec/Section%204%20--%20Introspection.md#schema-introspection.
No description provided by the author
# Functions
AddError sends an error to the client, first passing it through the error presenter.
AddErrorf writes a formatted error to the client, first passing it through the error presenter.
CollectAllFields returns a slice of all GraphQL field names that were selected for the current resolver context.
CollectFields returns the set of fields from an ast.SelectionSet where all collected fields satisfy at least one of the GraphQL types passed through satisfies.
This is just a convenient wrapper method for CollectFields.
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
GetExtensions returns any extensions registered in the current result context.
No description provided by the author
GetFieldErrors returns a list of errors that occurred in the given field.
No description provided by the author
Deprecated: Please update all references to GetOperationContext instead.
Deprecated: Use GetFieldContext instead.
GetStartTime should only be called by the handler package, it will be set into request context as Stats.Start.
HasFieldError returns true if the given field has already errored.
HasOperationContext checks if the given context is part of an ongoing operation
Some errors can happen outside of an operation, eg json unmarshal errors.
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
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
No description provided by the author
No description provided by the author
No description provided by the author
RegisterExtension allows you to add a new extension into the graphql response.
StartOperationTrace captures the current time and stores it in context.
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
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
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
# Structs
No description provided by the author
ExecutableSchemaMock is a mock implementation of ExecutableSchema.
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
No description provided by the author
No description provided by the author
Errors are intentionally serialized first based on the advice in https://github.com/facebook/graphql/commit/7b40390d48680b15cb93e02d46ac5eb249689876#diff-757cea6edf0288677a9eea4cfc801d87R107 and https://github.com/facebook/graphql/pull/384.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Cache is a shared store for APQ and query AST caching.
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
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
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
MapCache is the simplest implementation of a cache, because it can not evict it should only be used in tests.
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: Please update all references to OperationContext instead.
No description provided by the author
Deprecated: Use FieldContext instead.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author