public function TypeResolver::resolveRecursive in GraphQL 8
Same name and namespace in other branches
- 8.2 src/TypeResolver.php \Drupal\graphql\TypeResolver::resolveRecursive()
Parameters
mixed $type:
Return value
\Fubhy\GraphQL\Type\Definition\Types\TypeInterface|null
Overrides TypeResolverInterface::resolveRecursive
File
- src/
TypeResolver.php, line 82
Class
- TypeResolver
- Attempts to GraphQL type definitions from arbitrary data types.
Namespace
Drupal\graphqlCode
public function resolveRecursive($type) {
if ($resolver = $this
->getFirstApplicableTypeResolver($type)) {
return $resolver
->resolveRecursive($type);
}
return NULL;
}