Sha256: 184e12836e377a08bd58aade3728abfbd2a10308d8067d08f592a15c64658676
Contents?: true
Size: 450 Bytes
Versions: 58
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true module GraphQL class Schema module DefaultTypeError def self.call(type_error, ctx) case type_error when GraphQL::InvalidNullError ctx.errors << type_error when GraphQL::UnresolvedTypeError, GraphQL::StringEncodingError, GraphQL::IntegerEncodingError raise type_error when GraphQL::IntegerDecodingError nil end end end end end
Version data entries
58 entries across 58 versions & 2 rubygems