[BUG]: drizzle valibot select schema's inferred type does not recognized properties using integer().generatedAlwaysAsIdentity()
#4556
Labels
bug
Something isn't working
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.43.1
What version of
drizzle-kit
are you using?0.31.1
Other packages
drizzle-valibot@0.4.2
Describe the Bug
The very example on the documentation causes this:
(from https://orm.drizzle.team/docs/valibot)
This does not happen, for example, if the id is declared with
uuid().defaultRandom()
. The DB does return the ID on a query regardless of course, so this is just a typing bug.The text was updated successfully, but these errors were encountered: