[BUG]: drizzle-valibot throws Type instantiation is excessively deep and possibly infinite.
for refinements
#3751
Labels
bug
Something isn't working
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.38.0
What version of
drizzle-kit
are you using?0.30.0
Other packages
valibot@1.0.0-beta.9, drizzle-valibot@0.3.0
Describe the Bug
When creating a drizzle-valibot refinement, with either
createSelectSchema
,createInsertSchema
orcreateUpdateSchema
it throws a TypeScript error:I made a reproduction repo that uses the examples from the docs for Valibot, Zod and Typebox, but the error occurs only for Valibot:
https://github.com/MickL/drizzle-valibot-type-error
@L-Mario564
The text was updated successfully, but these errors were encountered: