Resolver Execution Context
A generic context for resolving fields or types
Inheritors
Functions
Link copied to clipboard
Creates a GlobalID and returns it as a String. Example usage: globalIDStringFor(User.Reflection, "123")
Link copied to clipboard
abstract suspend fun query(operation: QueryFromAnnotation, variables: Map<String, Any?> = emptyMap()): Q
Loads the operation declared by a @GraphQLOperation query object on the root Query type, and returns the response typed as Q.
Link copied to clipboard
Creates a lazy reference to a root field that will be later resolved by the engine.
Creates a lazy reference given a Node ID. Only the ID field is accessible from the created reference. Attempting to access other fields will result in an exception. This can be used to construct resolver responses for fields with Node types.
Link copied to clipboard
Creates a Node object reference given a Local ID String representation.