Sha256: da3b3eba1284792a4f63a4ea5d3e6fded2444f96f17a6b3de56937febaf0c4f2
Contents?: true
Size: 263 Bytes
Versions: 2
Compression:
Stored size: 263 Bytes
Contents
GraphQL::Introspection::PossibleTypesField = GraphQL::Field.define do 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
graphql-1.0.0 | lib/graphql/introspection/possible_types_field.rb |
graphql-0.19.4 | lib/graphql/introspection/possible_types_field.rb |