Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Two-subscription test that actually works and fix. #694
Oh, you know what, if you stop one subscription things will break as well: https://github.com/apollostack/apollo-client/blob/master/src/ObservableQuery.ts#L65-L66
Will add to this PR
Ok, I realised this was only half the story, and in fact you can't unsubscribe to a single sub either.
I'd like to fix it but the code for tracking this stuff is a complete mess:
Are all in fact variants on the same thing. And the listener is created in
I need a consult.
referenced this pull request
Sep 27, 2016
@helfer I'm not sure exactly when I am going to look at this, (maybe next week?) so if you want to merge of it apart from the failing test or something, that might make sense.
At the moment I think you can subscribe twice OK now, you just can't subscribe twice then unsubscribe once right now.