Support drizzle-zod in Astro DB #1091
austinm911
started this conversation in
Proposal
Replies: 1 comment
-
As this is a feature request I'm going to transfer it to discussions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
createInsertSchema
accepts aTable
type from Drizzle. It appears theTable
type created bydefineTable
is not compatible with drizzle zod.It would be nice to be able to create or infer zod (i guess Valibot and others too) schemas either natively in Astro DB or be able to use the utilities like the drizzle-zod package.
What's the expected result?
Character should contain the expected columns and their types.
Link to Minimal Reproducible Example
see description
Participation
Beta Was this translation helpful? Give feedback.
All reactions