Sha256: cb992fa3f69ad06bf97be1afff3ffa7f2f1dc00a19831834d16b4282bdc40c4c
Contents?: true
Size: 293 Bytes
Versions: 40
Compression:
Stored size: 293 Bytes
Contents
# frozen_string_literal: true GraphQL::Introspection::PossibleTypesField = GraphQL::Field.define do type -> { types[!GraphQL::Introspection::TypeType] } resolve ->(target, args, ctx) { if target.kind.resolves? ctx.warden.possible_types(target) else nil end } end
Version data entries
40 entries across 40 versions & 1 rubygems