lone-anonymous-operation
â
The "extends": "plugin:@graphql-eslint/operations-recommended"
property in a configuration file
enables this rule.
- Category:
Operations
- Rule name:
@graphql-eslint/lone-anonymous-operation
- Requires GraphQL Schema:
true
âšī¸ - Requires GraphQL Operations:
false
âšī¸
A GraphQL document that contains an anonymous operation (the query
short-hand) is only valid if it
contains only that one operation definition.
This rule is a wrapper around a
graphql-js
validation function.