You are here

protected function ResolverRegistry::resolveTypeDefault in GraphQL 8.4

Returns NULL as default type.

Parameters

mixed $value:

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

\GraphQL\Type\Definition\ResolveInfo $info:

Return value

null

File

src/GraphQL/ResolverRegistry.php, line 238

Class

ResolverRegistry
Contains all the mappings how to resolve a GraphQL request.

Namespace

Drupal\graphql\GraphQL

Code

protected function resolveTypeDefault($value, ResolveContext $context, ResolveInfo $info) {
  return NULL;
}