lib/graphql/introspection/interfaces_field.rb in graphql-0.9.4 vs lib/graphql/introspection/interfaces_field.rb in graphql-0.9.5
- old
+ new
@@ -1,5 +1,5 @@
GraphQL::Introspection::InterfacesField = GraphQL::Field.define do
description "Interfaces which this object implements"
- type -> { !types[!GraphQL::Introspection::TypeType] }
+ type -> { types[!GraphQL::Introspection::TypeType] }
resolve -> (target, a, c) { target.kind.object? ? target.interfaces : nil }
end