- Companion
- class
Type members
Classlikes
Types
Opaque type of partially constructed query results.
Opaque type of partially constructed query results.
Values may be fully expanded Json values, objects or arrays which not yet fully evaluated subtrees, or subqueries which are deferred to the next stage or another component of a composite interpreter.
Value members
Concrete methods
Complete a possibly partial result.
Complete a possibly partial result.
Completes a single possibly partial result as described for
completeAll
.
Complete a collection of possibly deferred results.
Complete a collection of possibly deferred results.
Each result is completed by locating any subtrees which have been deferred or delegated to some other component interpreter in an overall composite interpreter. Deferred subtrees are gathered, grouped by their associated interpreter and then evaluated in batches. The results of these batch evaluations are then completed in a subsequent stage recursively until the results are fully evaluated or yield errors.
Complete results are substituted back into the corresponding enclosing Json.
Errors are aggregated across all the results and are accumulated
on the Left
of the result.
Construct a GraphQL error object as the left hand side of a Result
Construct a GraphQL error object as the left hand side of a Result
Construct a GraphQL error response from a Result
, ignoring any
right hand side in result
.
Construct a GraphQL error response from a Result
, ignoring any
right hand side in result
.
Construct a GraphQL response from the possibly absent result data
and a collection of errors.
Construct a GraphQL response from the possibly absent result data
and a collection of errors.