lib/rails/graphql/directive/deprecated_directive.rb
def build_message(item)
          result = "The #{item} is deprecated"
          result += ", reason: #{args.reason}" if args.reason.present?
          result + '.'
        end
# Build the error message to display on the result
Build the error message to display on the result
Build the error message to display on the result
def build_message(item)
          result = "The #{item} is deprecated"
          result += ", reason: #{args.reason}" if args.reason.present?
          result + '.'
        end
def build_message ( item ) result = "The #{item} is deprecated" result += ", reason: #{args.reason}" if args . reason . present? result + '.' end
Build the error message to display on the result
Build the error message to display on the result
item