You are here

public function ComposableSchema::getResolverRegistry in GraphQL 8.4

Retrieves the resolver registry.

@todo Instead, this should be configuration.

Return value

\Drupal\graphql\GraphQL\ResolverRegistryInterface The resolver registry.

Overrides SchemaPluginInterface::getResolverRegistry

File

src/Plugin/GraphQL/Schema/ComposableSchema.php, line 24

Class

ComposableSchema
Plugin annotation @Schema( id = "composable", name = "Composable schema" )

Namespace

Drupal\graphql\Plugin\GraphQL\Schema

Code

public function getResolverRegistry() {
  return new ResolverRegistry();
}