useNamedOperation
このコンテンツはまだ日本語訳がありません。
Diagnostic Category: lint/nursery/useNamedOperation
Since: vnext
Sources:
- Same as:
graphql/no-anonymous-operations
Enforce specifying the name of GraphQL operations.
This is useful because most GraphQL client libraries use the operation name for caching purposes.
Examples
Section titled ExamplesInvalid
Section titled Invalid