You are here

public function ResolveContext::getOperation in GraphQL 8.4

Returns the current operation parameters.

Return value

\GraphQL\Server\OperationParams

File

src/GraphQL/Execution/ResolveContext.php, line 106

Class

ResolveContext
Context that is provided during resolving the GraphQL tree.

Namespace

Drupal\graphql\GraphQL\Execution

Code

public function getOperation() {
  return $this->operation;
}