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.
Datei anzeigen 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 ( )