Sha256: 410548d2828720bf8176d6fd7fe83f179e109d83c2837a34780e8b5d575d988f
Contents?: true
Size: 965 Bytes
Versions: 212
Compression:
Stored size: 965 Bytes
Contents
# frozen_string_literal: true module GraphQL module StaticValidation class RequiredInputObjectAttributesArePresentError < StaticValidation::Error attr_reader :argument_type attr_reader :argument_name attr_reader :input_object_type def initialize(message, path:, nodes:, argument_type:, argument_name:, input_object_type:) super(message, path: path, nodes: nodes) @argument_type = argument_type @argument_name = argument_name @input_object_type = input_object_type end # A hash representation of this Message def to_h extensions = { "code" => code, "argumentName" => argument_name, "argumentType" => argument_type, "inputObjectType" => input_object_type, } super.merge({ "extensions" => extensions }) end def code "missingRequiredInputObjectAttribute" end end end end
Version data entries
212 entries across 212 versions & 2 rubygems