Subscribe to more than one stream via client api

hi

is there a reason for https://github.com/EventStore/EventStore/blob/release-v4.0.0/src/Protos/ClientAPI/ClientMessageDtos.proto#L311 not being a repeated field?

I was under the impression, it should be possible to “join” streams into one with a subscription.

What i am trying to do, is something like

fromStreams(["type-InventoryItemDeactived", "type-InventoryItemCreated"]).when( ... )

``

mentioned here https://geteventstore.com/blog/20130210/the-cost-of-creating-a-stream/.

cu uwe

You can but in order to do so you need to create the projection first. See https://github.com/EventStore/EventStore/blob/release-v4.0.0/src/EventStore.ClientAPI/Projections/ProjectionsManager.cs#L112

Hi Joao,

thanks for answering this one.

The ProjectionsManager code just wraps an HttpClient. Look at the network traffic with say chrome dev tools to GES and create a projection from the admin screen.