Module warpgrapher::engine::resolvers[][src]

Contains the type aliases, enumerations, and structures to allow for the creation of custom resolvers.

Structs

Arguments

Field argument container

Executor

Query execution engine

FieldError

Error type for errors that occur during field resolution

ResolverFacade

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

Object

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

FromInputValue

Parse an unstructured input value into a Rust data type.

Type Definitions

ExecutionResult

The result of resolving an unspecified field

ResolverFunc

Type alias for custom resolver functions. Takes a ResolverFacade and returns an ExecutionResult.

Resolvers

Type alias for a mapping from a custom resolver name to a the Rust function that implements the custom resolver.