public function ValidatorInterface::getOrphanedResolvers in GraphQL 8.4
Get a list of orphaned resolvers.
A resolver is considered orphaned if it's defined in the resolver registry for the server but the field does not occur in any SDL (.graphqls) files.
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::getOrphanedResolvers()
- Validator::getOrphanedResolvers in src/
GraphQL/ Validator.php - Get a list of orphaned resolvers.
File
- src/
GraphQL/ ValidatorInterface.php, line 55
Class
- ValidatorInterface
- Validation service interface for Drupal GraphQL servers.
Namespace
Drupal\graphql\GraphQLCode
public function getOrphanedResolvers(ServerInterface $server, array $ignore_types = []) : array;