Cybermuse.io
Explore posts from serversError handling abort on unstable_httpBatchStreamLink
When using a streaming response with unstable_httpBatchStreamLink and cancelling a request with an AbortController, the client will throw an error. The error is an instance of a generic error rather than a TRPCClientError. I'm trying to think of a solid way to swallow the abort error.
11 replies
DTDrizzle Team
•Created by Cybermuse.io on 6/15/2024 in #help
Drizzle Zod with relations
Is there any easy way to get Drizzle-zod to include relations on select schemas? I was able to come up with using zod's extend method to manually chain together a new validator, but an automatic solution would be pretty nice.
1 replies