GamerZero
Explore posts from serversTTCTheo's Typesafe Cult
•Created by GamerZero on 7/22/2024 in #questions
Controller is already closed error
Not solved yet
7 replies
TTCTheo's Typesafe Cult
•Created by GamerZero on 7/22/2024 in #questions
Controller is already closed error
Would love to know if any other solution exists
7 replies
TTCTheo's Typesafe Cult
•Created by GamerZero on 7/22/2024 in #questions
Controller is already closed error
I guess i should downgrade trpc to version 10 but it also means downgrading react query
7 replies
TTCTheo's Typesafe Cult
•Created by GamerZero on 7/22/2024 in #questions
Controller is already closed error
Tried switching from unstable_httpBatchStreamedLink or whatever it called on client to httpBatchLink, it seems that number of errors reduced a little. But the problem still persists
7 replies
DTDrizzle Team
•Created by GamerZero on 7/14/2024 in #help
Stack overflow when trying to insert many values at once
4 replies
DTDrizzle Team
•Created by GamerZero on 7/14/2024 in #help
Stack overflow when trying to insert many values at once
I've worked around it for now by splitting my list and inserting batches of 1000. But the stack overflow issue is real and I've posted it on github.
4 replies
Cannot set headers in procedures with fetch adapter
I've tried implementing the adapter synchronously, without streaming using
resolveHTTPResponse
directly. But unfortunately getting JSON.parse()
errors on client (non-whitespace character after json at column X)6 replies
TTCTheo's Typesafe Cult
•Created by GamerZero on 11/22/2022 in #questions
Is it possible to run websocket (trpc subscriptions) server in the same process as nextjs app?
Yeah problems with hmr is what I've just thought about. Would try to set up this
tsx
thing properly then, or replace it with something...10 replies
TTCTheo's Typesafe Cult
•Created by GamerZero on 11/22/2022 in #questions
Is it possible to run websocket (trpc subscriptions) server in the same process as nextjs app?
So is it just using separate processes in dev? I'm currently trying to set it up in my existing app created with
create-t3-app
. It already uses some utility stuff like ramda in it's trpc routers, so i've got into problems with running tsx watch src/server/trpc/wssDevServer.ts
which I saw in this templates package.json
.10 replies