lib/graphql/language/nodes.rb in graphql-0.13.0 vs lib/graphql/language/nodes.rb in graphql-0.14.0
- old
+ new
@@ -40,9 +40,13 @@
end
def position
[line, col]
end
+
+ def to_query_string
+ Generation.generate(self)
+ end
end
class WrapperType < AbstractNode
attr_accessor :of_type
def initialize_node(of_type: nil)