© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
1 reply
bret_pat

Share drizzle-zod schemas with the frontend

I'm wondering how I should use drizzle-zod generated schemas without leaking the actual implementation of my tables to the frontend?

I'm assuming by exporting drizzle-zod schema's and letting the frontend consume them, I'm actually bundling the definitions inside of my FE as well.

Is there a way to avoid this? Or frankly, should I not care?
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

Importing drizzle-zod Schemas on the Client
Drizzle TeamDTDrizzle Team / help
3y ago
Drizzle-zod schemas included in bundle
Drizzle TeamDTDrizzle Team / help
4mo ago
How to use drizzle-zod generated schemas in Next.JS frontend?
Drizzle TeamDTDrizzle Team / help
3y ago
How to import drizzle-zod schemas on the client
Drizzle TeamDTDrizzle Team / help
6mo ago