playsonmac
Explore posts from serversWebsocket subprotocol results in Error: The script will never generate a response
I appreciate your help 🙌
The issue is I'm only using workers through hono and I don't really know how to surface any of the interals. I'm literally using the hono upgradeWebSocket hanlder on one of the routes of the hono app.
The issue is I'm only using workers through hono and I don't really know how to surface any of the interals. I'm literally using the hono upgradeWebSocket hanlder on one of the routes of the hono app.
23 replies
Websocket subprotocol results in Error: The script will never generate a response
I've highlighted it above. It's the onClose from the docs - https://hono.dev/docs/helpers/websocket
23 replies
Websocket subprotocol results in Error: The script will never generate a response
Thanks! Do you mean adding a
onClose
method tot he return of the upgradeWebSocket
handler? I have it (I just trimmed down the minimal example so it doesn't take up space) and I still have the issue.
Or do you mean something else?23 replies
DTDrizzle Team
•Created by playsonmac on 1/13/2025 in #help
[Solved] How to see a supabase with references to authUsers.id?
You need to inlcude authUsers
import { authUsers } from "drizzle-orm/supabase"
in the seed schema which allows you to seed users as well2 replies
DTDrizzle Team
•Created by playsonmac on 1/12/2025 in #help
[Solved] drizzle-seed autocomplete not working if there are enums or zod objects
Turns out anything that is not PgTable (in my case) breaks the autocomplete inside the seed function. When I extracted the tables to a new dbSchema object and pass it to the seed function, the autocomplete works.
5 replies
DTDrizzle Team
•Created by playsonmac on 1/12/2025 in #help
[Solved] drizzle-seed autocomplete not working if there are enums or zod objects
It's the enums that are breaking it
5 replies
DTDrizzle Team
•Created by playsonmac on 1/12/2025 in #help
[Solved] drizzle-seed autocomplete not working if there are enums or zod objects
Initially I thought its because I had drizzle-zod schemas defined within the same files where the table definitions are but it still doesn't work after I've removed them
5 replies
DTDrizzle Team
•Created by playsonmac on 1/12/2025 in #help
[Solved] drizzle-seed autocomplete not working if there are enums or zod objects
Here's the tsconfig:
5 replies
DTDrizzle Team
•Created by playsonmac on 1/10/2025 in #help
drizzle-zod 0.6.1 has errors on each createXyzSchema
Thanks!
3 replies
DTDrizzle Team
•Created by Filip on 8/10/2024 in #help
Error: self-signed certificate in certificate chain
I couldn't get it to work locally, but it turns out that it actually works in the github action so that's good
10 replies
DTDrizzle Team
•Created by Filip on 8/10/2024 in #help
Error: self-signed certificate in certificate chain
I have the same issue with Supabase.
There was a post saying that this works:
Unfortunately, I get ENAMETOOLONG when I encode the supabase certificate into the dbUrl :/
10 replies