lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed_error.rb
def to_h
        extensions = {
          "code" => code,
          "variableName" => variable_name
        }.tap { |h| h["typeName"] = type_name unless type_name.nil? }

        super.merge({
          "extensions" => extensions
        })
      end
# A hash representation of this Message
A hash representation of this Message
A hash representation of this Message
def to_h
        extensions = {
          "code" => code,
          "variableName" => variable_name
        }.tap { |h| h["typeName"] = type_name unless type_name.nil? }
        super.merge({
          "extensions" => extensions
        })
      end
def to_h extensions = { "code" => code , "variableName" => variable_name } . tap { | h | h [ "typeName" ] = type_name unless type_name . nil? } super . merge ( { "extensions" => extensions } ) end
A hash representation of this Message
A hash representation of this Message