Sha256: 8d48b8b2ae932d6df9b436f6618e26e6720c93c98ab9540692dc211ed5c68385

Contents?: true

Size: 203 Bytes

Versions: 2

Compression:

Stored size: 203 Bytes

Contents

GraphQL::Introspection::InterfacesField = GraphQL::Field.define do
  type -> { types[!GraphQL::Introspection::TypeType] }
  resolve ->(target, a, c) { target.kind.object? ? target.interfaces : nil }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql-1.0.0 lib/graphql/introspection/interfaces_field.rb
graphql-0.19.4 lib/graphql/introspection/interfaces_field.rb