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