lib/graphql/language/nodes.rb in graphql-2.2.9 vs lib/graphql/language/nodes.rb in graphql-2.2.10
- old
+ new
@@ -510,10 +510,10 @@
end
# An operation-level query variable
class VariableDefinition < AbstractNode
scalar_methods :name, :type, :default_value
- children_methods false
+ children_methods(directives: Directive)
# @!attribute default_value
# @return [String, Integer, Float, Boolean, Array, NullValue] A Ruby value to use if no other value is provided
# @!attribute type
# @return [TypeName, NonNullType, ListType] The expected type of this value