You are here

public function ResolveContext::getDocument in GraphQL 8.4

Returns the parsed GraphQL schema.

Return value

\GraphQL\Language\AST\DocumentNode

File

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

Class

ResolveContext
Context that is provided during resolving the GraphQL tree.

Namespace

Drupal\graphql\GraphQL\Execution

Code

public function getDocument() {
  return $this->document;
}