lib/graphql/schema/printer.rb in graphql-1.7.8 vs lib/graphql/schema/printer.rb in graphql-1.7.9

- old
+ new

@@ -98,10 +98,10 @@ reason = directive.arguments.find { |arg| arg.name == "reason" } if reason.value == GraphQL::Directive::DEFAULT_DEPRECATION_REASON "@deprecated" else - "@deprecated(reason: \"#{reason.value}\")" + "@deprecated(reason: #{reason.value.to_s.inspect})" end else super end end