Module warpgrapher::engine::resolvers
source · [−]Expand description
Contains the type aliases, enumerations, and structures to allow for the creation of custom resolvers.
Structs
Field argument container
Query execution engine
Error type for errors that occur during field resolution
Provides a simplified interface to primitive operations such as Node creation, Rel creation,
resolution of both scalar and complex types. The ResolverFacade
is the primary mechanism
trough which a custom resolver interacts with the rest of the framework.
Enums
Wraps a Node or Rel, and provides a type-safe distinction between the two, when passing the object on which a field is being resolved to the custom resolver.
Traits
Parse an unstructured input value into a Rust data type.
Type Definitions
The result of resolving an unspecified field
Type alias for custom resolver functions. Takes a ResolverFacade
and returns an
ExecutionResult.
Type alias for a mapping from a custom resolver name to a the Rust function that implements the custom resolver.