public function ValidatorInterface::getMissingResolvers in GraphQL 8.4
Get a list of missing resolvers.
A resolver is considered missing if a field definition exists in the SDL (.graphqls) files for this server but the type or any of its implemented interfaces do not have a registered resolver in the server's resolver registry for the field.
Parameters
\Drupal\graphql\Entity\ServerInterface $server: The server to validate.
array $ignore_types: Any types to ignore during validation.
Return value
array An array keyed by type containing arrays of field names.
1 method overrides ValidatorInterface::getMissingResolvers()
- Validator::getMissingResolvers in src/
GraphQL/ Validator.php - Get a list of missing resolvers.
File
- src/
GraphQL/ ValidatorInterface.php, line 39
Class
- ValidatorInterface
- Validation service interface for Drupal GraphQL servers.
Namespace
Drupal\graphql\GraphQLCode
public function getMissingResolvers(ServerInterface $server, array $ignore_types = []) : array;