Sha256: 30ceac9104a41b568cf15427b65cb19fd863e8a48efacc6169f6864496a07bc8

Contents?: true

Size: 404 Bytes

Versions: 143

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

module GraphQL
  class Schema
    class Member
      # Set up a type-specific error to make debugging & bug tracker integration better
      module HasUnresolvedTypeError
        private
        def add_unresolved_type_error(child_class)
          child_class.const_set(:UnresolvedTypeError, Class.new(GraphQL::UnresolvedTypeError))
        end
      end
    end
  end
end

Version data entries

143 entries across 143 versions & 2 rubygems

Version Path
graphql-1.11.12 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.1.15 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-1.11.11 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-1.12.25 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-1.13.24 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.0.32 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.1.14 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.2.17 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.2.16 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.1.13 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.3.9 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.3.8 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.3.7 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.3.6 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.3.5 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.0.31 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.3.2 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.3.1 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-1.13.23 lib/graphql/schema/member/has_unresolved_type_error.rb
graphql-2.3.0 lib/graphql/schema/member/has_unresolved_type_error.rb