SebasPtsch
Get Query Key on Server
Yeah, the primary issue is that I don't actually want to handle partial updates (with data) as you can't really protect trpc websocket connections with session.
I could theoretically publish events per type e.g. invalidateEvent, eventId
13 replies
Canary useUtils and createTRPCQueryUtils type not callable
Figured this out, was to do with me exporting the server types and importing them on the client. Added a path override similar to what is done in the trpc project to just grab the AppRouter type from the typescript files rather than the generated declaration.
11 replies