You are here

public function ResolverRegistryInterface::resolveType in GraphQL 8.4

Resolve a type.

Parameters

mixed $value:

\Drupal\graphql\GraphQL\Execution\ResolveContext $context:

\GraphQL\Type\Definition\ResolveInfo $info:

Return value

callable|null

1 method overrides ResolverRegistryInterface::resolveType()
ResolverRegistry::resolveType in src/GraphQL/ResolverRegistry.php
Resolve a type.

File

src/GraphQL/ResolverRegistryInterface.php, line 37

Class

ResolverRegistryInterface
Defines a registry to resolve any field in the GraphQL schema tree.

Namespace

Drupal\graphql\GraphQL

Code

public function resolveType($value, ResolveContext $context, ResolveInfo $info);