Sha256: f2147f01235b7971f84128c4367df711483ff9180996a45cc66d288875bb4077
Contents?: true
Size: 324 Bytes
Versions: 29
Compression:
Stored size: 324 Bytes
Contents
GraphQL::Introspection::PossibleTypesField = GraphQL::Field.define do description "Types which compose this Union or Interface" type -> { types[!GraphQL::Introspection::TypeType] } resolve -> (target, args, ctx) { if target.kind.resolves? ctx.schema.possible_types(target) else nil end } end
Version data entries
29 entries across 29 versions & 1 rubygems