class GraphQL::Analysis::Visitor

Depth first traversal through a query AST, calling AST analyzers along the way.

The visitor is a special case of GraphQL::Language::StaticVisitor, visiting only the selected operation, providing helpers for common use cases such as skipped fields and visiting fragment spreads.

See GraphQL::Analysis::Analyzer AST Analyzers for queries