server icon indicating copy to clipboard operation
server copied to clipboard

Subscriptions with multiple observables

Open toorajhelmi opened this issue 5 years ago • 1 comments

I am creating two subscription each with it own observable and this does not seem to work.

private readonly ISubject eventStream1 = new ReplaySubject(TimeSpan.FromDays(1)); private readonly ISubject eventStream2 = new ReplaySubject(TimeSpan.FromDays(1));`

If I use just one of them to define subscriptions, everything works fine. But as soon as I define a subscription that uses the second observer, things stops working. GraphiQL throws an error right away and Playground keeps spinning forever.

toorajhelmi avatar Jan 24 '21 00:01 toorajhelmi

This was related to my own implementation deriving same name for generic variables.

toorajhelmi avatar Jan 27 '21 02:01 toorajhelmi