Struct graphql_tools::validation::rules::no_unused_variables::NoUnusedVariables
source ·
[−]pub struct NoUnusedVariables;
Expand description
No unused fragments
A GraphQL operation is only valid if all variables defined by an operation are used, either directly or within a spread fragment.
See https://spec.graphql.org/draft/#sec-All-Variables-Used