lib/graphql/schema/union.rb in graphql-1.10.0.pre3 vs lib/graphql/schema/union.rb in graphql-1.10.0.pre4

- old
+ new

@@ -6,10 +6,10 @@ class << self def possible_types(*types, context: GraphQL::Query::NullContext, **options) if types.any? types.each do |t| - type_memberships << type_membership_class.new(self, t, options) + type_memberships << type_membership_class.new(self, t, **options) end else visible_types = [] type_memberships.each do |type_membership| if type_membership.visible?(context)