Validate stage of GraphQL resolvers.
class ApiPlatform\GraphQl\Resolver\Stage\ValidateStage implements ApiPlatform\GraphQl\Resolver\Stage\ValidateStageInterface
{
public __construct(ApiPlatform\Validator\ValidatorInterface $validator)
public __invoke(object $object, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): null
}
public __construct(ApiPlatform\Validator\ValidatorInterface $validator)
validator | `ApiPlatform\Validator\ValidatorInterface` |
public __invoke(object $object, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): null
object | object | |
resourceClass | string | |
operation | `ApiPlatform\Metadata\GraphQl\Operation` | |
context | array |
null
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more