pvman
Explore posts from serversDTDrizzle Team
•Created by pvman on 6/2/2024 in #help
Reusable pgTable column helper - losing type : [x: string] instead of user_id
Thanks a bunch!!! Works perfectly.
6 replies
DTDrizzle Team
•Created by pvman on 6/2/2024 in #help
Reusable pgTable column helper - losing type : [x: string] instead of user_id
When I use a var :
char(name...)
I have a return type of <PgCharBuilderInitial<string ...
and if I use directly char("user_id")
, I get the correct one : <PgCharBuilderInitial<"user_id" ...
6 replies
useContext won't infer type from tRPC client
Do you mind sharing what old code did you delete? I'm using trpc 10.45.2 and have this error when trying to use useUtils. I also get
The property '${any}' in your router collides with a built-in method, rename this router or procedure on your backend.
and my trpc queries/mutations work just fine.5 replies