Skip to content
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

Including and :id in a query payload fails to fire :callback #100

Open
hipitihop opened this issue Dec 2, 2024 · 1 comment
Open

Including and :id in a query payload fails to fire :callback #100

hipitihop opened this issue Dec 2, 2024 · 1 comment

Comments

@hipitihop
Copy link

I recently tried to convert and existing working subscription, to a plain query. As expected, the subscription payload included an :id in case you want to unsubscribe. However leaving the :id in the payload and simply dispatching ::reg-graph/query instead of ::re-graph/subscribe, the :callback handler is never called and there is no indication of issues in the console. Checking the web socket messages in devtools network, showed the data was returning fine, just the handler is never called.

@oliyh
Copy link
Owner

oliyh commented Dec 3, 2024

Hi,

Thanks for raising this. I have an idea of how it could have happened, I'll look into it.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants