lib/graphql/language/definition_slice.rb in graphql-2.1.0 vs lib/graphql/language/definition_slice.rb in graphql-2.1.1
- old
+ new
@@ -13,10 +13,10 @@
Nodes::Document.new(definitions: definitions)
end
private
- class DependencyVisitor < GraphQL::Language::Visitor
+ class DependencyVisitor < GraphQL::Language::StaticVisitor
def initialize(doc, definitions, names)
@names = names
@definitions = definitions
super(doc)
end