-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Horizon no longer queues queries run before horizon.onReady has triggered #631
Comments
I'm currently working around this by wrapping my code in hz.onReady. However for this to work I have to manually trigger hz.connect() otherwise my query gets dropped. |
This is weird, I am hoping it'll be fixed by #619 |
Tried out the #619 branch and it seems to break everything for me. That is I'm no longer able to fetch data and I'm no longer able to store data. Just to be sure I tested the correct commit: 16b1c31 I installed it by running the |
Ok, you're correct. It is inexplicably not working on that branch. I had it working locally and with CircleCi, so let me figure out what went wrong. Sorry about that |
Alright @alf it turns out the bug was upstream. I needed to use a fixed version of WebSocketSubject, which I opened a PR for here: ReactiveX/rxjs#1831 If you're feeling adventurous you might try building with that, otherwise we can wait and see if/when they merge it upstream |
Ok, this fix has been merged into next. The rxjs guys haven't had a chance to look at my patch, so I just hacked it into our implementation for the time being. @alf Any chance you could check this out again? (thanks for your patience) |
This seems fixed |
I'll look at it when I'm back from vacation. I'm sure it's fine however. :) |
According to the documentation, you don't need to use horizon.onReady before running a query. This worked fine until this commit. After that it seems the queries are silently dropped.
The text was updated successfully, but these errors were encountered: