Mini
Mini
Explore posts from servers
TtRPC
Created by maddest on 2/23/2024 in #❓-help
Unable to use caller, in frontend bcz i dont have access to req and res objects
just drop req/res in createContext. it doesn't deps on anything
3 replies
DTDrizzle Team
Created by HotBBQSauce on 1/30/2024 in #help
Enforce property requirements on drizzle-zod
Ah required just drop undefined U need to use overwrite with merge
11 replies
DTDrizzle Team
Created by HotBBQSauce on 1/30/2024 in #help
Enforce property requirements on drizzle-zod
No description
11 replies
DTDrizzle Team
Created by HotBBQSauce on 1/30/2024 in #help
Enforce property requirements on drizzle-zod
you can overwrite through merge/extend. https://github.com/colinhacks/zod?tab=readme-ov-file#extend
11 replies
DTDrizzle Team
Created by Mini on 1/22/2024 in #help
how can i get column's default value in runtime?
Some cases like, getting Fallback values if data do not exist. (ex: settings for each user)
6 replies
TtRPC
Created by Paddy on 1/10/2024 in #❓-help
Node 20, NPM: Send form values to DB with tRPC?
Call mutation in form onSubmit event Maybe you need map it’s schema
5 replies
TtRPC
Created by Mohammed Anas on 1/9/2024 in #❓-help
client side Validation with ZOD
there is some few cases, like want check validate and show error message when value is changed, it must required client side validation. (Mostly for ui/ux features)
12 replies
TtRPC
Created by haardik | LearnWeb3 on 1/2/2024 in #❓-help
Including multi-tenant config into tRPC context
why not just use middleware for page, check domain for tenant in create context?
6 replies
TtRPC
Created by Mohammed Anas on 1/9/2024 in #❓-help
client side Validation with ZOD
you can share zod schema with client/server
12 replies
DTDrizzle Team
Created by carlos on 1/5/2024 in #help
how can i override the zodNullable here?
You should override with merge
4 replies
DTDrizzle Team
Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
not working with yarn v3 workspaces 🤔 is there any solution? nvm. I was loading and using a package that creates drizzle instances. When I create instance in server workspace, it works fine.
59 replies