lib/graphql/schema/union.rb in graphql-1.8.0.pre10 vs lib/graphql/schema/union.rb in graphql-1.8.0.pre11

- old
+ new

@@ -24,9 +24,13 @@ type_defn.resolve_type = method(:resolve_type) end type_defn.metadata[:type_class] = self type_defn end + + def kind + GraphQL::TypeKinds::UNION + end end end end end