lib/graphql/language/nodes.rb in graphql-1.10.3 vs lib/graphql/language/nodes.rb in graphql-1.10.4
- old
+ new
@@ -486,9 +486,11 @@
# @!attribute type
# @return [TypeName, NonNullType, ListType] The expected type of this value
# @!attribute name
# @return [String] The identifier for this variable, _without_ `$`
+
+ self.children_method_name = :variables
end
# A query, mutation or subscription.
# May be anonymous or named.
# May be explicitly typed (eg `mutation { ... }`) or implicitly a query (eg `{ ... }`).