brumbrum_brum
Cloudflare worker subscriptions/websockets
Does anyone have any experience setting up CF Workers with TRPC supbscriptions, in a way where I can have both subscriptions and mutation/queries at the same time? Also without the use of durable objects.
7 replies
Fastify + TRPC on Vercel
I am having trouble hosting a Fastify + TRPC server on Vercel.
I have tried two different vercel.json setups, but they both do not work for each reasons:
^^^This just shows the built code in the browser, no matter what route I go to.
^^This just shows a 404 page from Vercel.
This is my index.ts file (Built to index.js):
2 replies
Procedures with paramters.
Is it possible to pass parameters to a procedure in TRPC? I want a procedure that first checks if the user is signed in by default. But then I also want to be able to pass an array of permissions for the user to have, when the actual procedure is used in a route.
9 replies