Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GraphQL
Validator
Rules
LoneAnonymousOperation
PHP Class GraphQL\Validator\Rules\LoneAnonymousOperation
A GraphQL document is only valid if when it contains an anonymous operation (the query short-hand) that it contains only that one operation definition.
Show file
Open project: webonyx/graphql-php
Class Usage Examples
Public Methods
Method
Description
__invoke
(
ValidationContext
$context
)
anonOperationNotAloneMessage
( )
Method Details
__invoke()
public
method
public
__invoke
(
ValidationContext
$context
)
$context
GraphQL\Validator\ValidationContext
anonOperationNotAloneMessage()
static
public
method
static
public
anonOperationNotAloneMessage
( )