You are here

public function ValidatorInterface::validateSchema in GraphQL 8.4

Validates the schema of the server.

Parameters

\Drupal\graphql\Entity\ServerInterface $server: The server to validate.

Return value

\GraphQL\Error\Error[] An array of validation errors.

1 method overrides ValidatorInterface::validateSchema()
Validator::validateSchema in src/GraphQL/Validator.php
Validates the schema of the server.

File

src/GraphQL/ValidatorInterface.php, line 21

Class

ValidatorInterface
Validation service interface for Drupal GraphQL servers.

Namespace

Drupal\graphql\GraphQL

Code

public function validateSchema(ServerInterface $server) : array;