You are here

public function ResolverInterface::resolve in GraphQL 8.4

Resolve values for the fields.

Parameters

mixed $value:

mixed $args:

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

\GraphQL\Type\Definition\ResolveInfo $info:

\Drupal\graphql\GraphQL\Execution\FieldContext $field:

Return value

mixed

13 methods override ResolverInterface::resolve()
Argument::resolve in src/GraphQL/Resolver/Argument.php
Resolve values for the fields.
Callback::resolve in src/GraphQL/Resolver/Callback.php
Resolve values for the fields.
Composite::resolve in src/GraphQL/Resolver/Composite.php
Resolve values for the fields.
Condition::resolve in src/GraphQL/Resolver/Condition.php
Resolve values for the fields.
Context::resolve in src/GraphQL/Resolver/Context.php
Resolve values for the fields.

... See full list

File

src/GraphQL/Resolver/ResolverInterface.php, line 25

Class

ResolverInterface
Defines how to resolve a value for a given field.

Namespace

Drupal\graphql\GraphQL\Resolver

Code

public function resolve($value, $args, ResolveContext $context, ResolveInfo $info, FieldContext $field);