EventStore / EventStore-Client-Dotnet

Dotnet Client SDK for the Event Store gRPC Client API written in C#
Other
138 stars 38 forks source link

SubscriptionFilterOptions support for StreamFilter and EventTypeFilter together #270

Open cbgrasshopper opened 8 months ago

cbgrasshopper commented 8 months ago

When creating a subscription using server-side filtering, we have to choose between StreamFilter and EventTypeFilter in the SubscriptionFilterOptions. It would be good to support both, so I can do something like "subscribe to streams with such-and-such prefix and only give me events that match this Regex". Right now, I use the StreamFilter and then check the event types as they come, ignoring those I don't care about for my use case.

xperiandri commented 8 months ago

I support