Sha256: 58153e30ccd4456c84f6cd809207ebc1e570e41ee6ad00bbd743721eea13fa12
Contents?: true
Size: 676 Bytes
Versions: 89
Compression:
Stored size: 676 Bytes
Contents
# frozen_string_literal: true module GraphQL module StaticValidation class OneOfInputObjectsAreValidError < StaticValidation::Error attr_reader :input_object_type def initialize(message, path:, nodes:, input_object_type:) super(message, path: path, nodes: nodes) @input_object_type = input_object_type end # A hash representation of this Message def to_h extensions = { "code" => code, "inputObjectType" => input_object_type } super.merge({ "extensions" => extensions }) end def code "invalidOneOfInputObject" end end end end
Version data entries
89 entries across 89 versions & 1 rubygems