Guides
Tutorials
A field resolver that resolves IDs to IRIs and allow to access to the raw ID using the "#id" field.
class ApiPlatform\GraphQl\Resolver\ResourceFieldResolver
{
public __construct(ApiPlatform\Api\IriConverterInterface $iriConverter)
public __invoke(null|array $source, array $args, $context, GraphQL\Type\Definition\ResolveInfo $info)
}
class ApiPlatform\GraphQl\Resolver\ResourceFieldResolver
{
public __construct(ApiPlatform\Api\IriConverterInterface $iriConverter)
public __invoke(null|array $source, array $args, $context, GraphQL\Type\Definition\ResolveInfo $info)
}
public __construct(ApiPlatform\Api\IriConverterInterface $iriConverter)
public __construct(ApiPlatform\Api\IriConverterInterface $iriConverter)
iriConverter | ApiPlatform\Api\IriConverterInterface |
public __invoke(null|array $source, array $args, $context, GraphQL\Type\Definition\ResolveInfo $info)
public __invoke(null|array $source, array $args, $context, GraphQL\Type\Definition\ResolveInfo $info)
source | array | |
args | array | |
context | ||
info | GraphQL\Type\Definition\ResolveInfo |