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