lib/graphql/static_validation/rules/operation_names_are_valid_error.rb
# A hash representation of this Message
A hash representation of this Message
A hash representation of this Message
def to_h
        extensions = {
          "code" => code
        }.tap { |h| h["operationName"] = operation_name unless operation_name.nil? }
        super.merge({
          "extensions" => extensions
        })
      end
def to_h extensions = { "code" => code } . tap { | h | h [ "operationName" ] = operation_name unless operation_name . nil? } super . merge ( { "extensions" => extensions } ) end
A hash representation of this Message
A hash representation of this Message