class GraphQL::Client::Schema::UnionType

def initialize(type)

def initialize(type)
  unless type.kind.union?
    raise "expected type to be a Union, but was #{type.class}"
  end
  @type = type
end