Bug on custom type inference? Maybe I'm doing something wrong.
Then if I:
The type on
endTime
should be Date
not any
I'm using drizzle-orm 0.28.5
6 Replies
same issue
I fixed it by
But yeah 😦
If you can submit the bug on gh
i assume you were using drizzle-zod?
my issue was there, but inferring the types directly from the table gives the correct type
type x = table.$inferSelect
like this
this doesnt thoughHuh
this is actually working for me
I do this all the time
the
createSchemaParse
is a method that I created