lib/graphql/language/nodes.rb in graphql-2.0.31 vs lib/graphql/language/nodes.rb in graphql-2.1.0
- old
+ new
@@ -533,10 +533,10 @@
# # { ... }
#
# @example Creating a custom string from a document
# class VariableScrubber < GraphQL::Language::Printer
# def print_argument(arg)
- # "#{arg.name}: <HIDDEN>"
+ # print_string("#{arg.name}: <HIDDEN>")
# end
# end
#
# document.to_query_string(printer: VariableScrubber.new)
#