Module juniper::executor

source ·
Expand description

Resolve the document to values

Structs§

Enums§

  • Indication whether a field is available in all types of an interface or only in a certain subtype.
  • JSON-like value performing look-ahead operations on an executed GraphQL query.

Traits§

  • Marker trait for types that can act as context objects for GraphQL types.
  • Conversion trait for context types
  • Custom error handling trait to enable error types other than FieldError to be specified as return value.

Functions§

  • Create new Executor and start query/mutation execution. Returns IsSubscription error if subscription is passed.
  • Create new Executor and start asynchronous query execution. Returns IsSubscription error if subscription is passed.
  • Initialize new Executor and start resolving subscription into stream asynchronously. Returns NotSubscription error if query or mutation is passed

Type Aliases§

  • The result of resolving an unspecified field
  • The result of resolving the value of a field of type T
  • Boxed Stream yielding Result<Value<S>, ExecutionError<S>>
  • The map of variables used for substitution during query execution