© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago
jackaltd

drizzle-zod object scoped refine

I would like to check an object
s multiple columns. For example whether password field is equal to confirmPassword filed.
With zod it was a .refine() after a z.object(), but I cant
s multiple columns. For example whether password field is equal to confirmPassword filed.
With zod it was a .refine() after a z.object(), but I cant
get it work with createInsertSchema()
Is there any workaround to work with react hook forms?
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

drizzle-zod refine enum
Drizzle TeamDTDrizzle Team / help
3y ago
Drizzle-Zod
Drizzle TeamDTDrizzle Team / help
9mo ago
Drizzle-zod should accept refinements on tables
Drizzle TeamDTDrizzle Team / help
6mo ago
drizzle-zod insert/update schema refinements type
Drizzle TeamDTDrizzle Team / help
11mo ago