ExecutionInput

Encapsulates the parameters necessary to execute a GraphQL operation.

Types

Link copied to clipboard
class Builder

Builder class for creating ExecutionInput instances with proper defaults and validation.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val executionId: String

Unique request identifier for this execution.

Link copied to clipboard
abstract val operationId: String

A unique ID for the operation for use in instrumentation.

Link copied to clipboard
abstract val operationName: String?

Name of operation in operationText to be executed. May be null if operationText has only one operation.

Link copied to clipboard
abstract val operationText: String

Text of an executable document as defined in the GraphQL specification.

Link copied to clipboard
abstract val requestContext: Any?

Deployment-specific request context established by Viaduct Architects. Will be available to application code through execution contexts. We encourage the use of dependency injection over this object, but support it for simpler installations.

Link copied to clipboard
abstract val variables: Map<String, Any?>

Values for variables defined by the operation.