Live queries not working
I ran into an ostensibly straightforward problem. After sending a message, the client requires a manual refresh to load the latest messages. This behaviour happens occurs on the local version and on the one deployed to Vercel. Otherwise it works perfectly, so everything seems set up correctly. I can't figure out the difference between my deployment and the online demo – are you running a different version of Grafbase or something?
Hey @rubenvereecken
How long ago did you deploy the project? We recently had an issue (in the last few weeks) where the deployed Grafbase API wasn't sending messages.
I'd recommend using the latest CLI @0.23.0 and redeploy the schema (add a dummy field to the schema to trigger a re-redeploy).
@notrab Thanks for the swift reply! It's all today, I'm working on a POC.
I got the deployed one to work... unsure what changed. The local one is still not refreshing. I'm on @0.23.0. It's recognising live queries correctly. All I can think of is that the Grafbase server isn't sending events.
This is now a lot less urgent because I can at least test remotely. By the way, fantastic work on Grafbase!
@rubenvereecken that's odd, the CLI runs entirely local so the event should be delivered there too. Let me investigate this internally and get back to you.
Would you be interested in joining us on Discord? It might be easier to loop in a few people from the team there who work on our backend.
Ps. Thank you for the kind words! It's a whole team effort, I just get to build cool things and write about it! ❤️