Drizzle-Zod not supported in latest version of Drizzle-ORM
I tried upgrading to drizzle orm 0.36, but I was having problems similar to this github issue. I downgraded back and everything is working fine. Has anybody been having this issue?
https://github.com/drizzle-team/drizzle-orm/issues/3125
GitHub
[BUG]: Latest versions of drizzle-orm (0.34.1) and drizzle-zod (0.5...
What version of drizzle-orm are you using? 0.34.1 What version of drizzle-kit are you using? 0.25.0 Describe the Bug For example, I have a table: export const userTable = pgTable('user', { ...
2 Replies
@Niiju sorry just saw your message. I these are the versions that are working for me: "drizzle-orm": "^0.35.3",
"drizzle-zod": "^0.5.1",
Send the error message you are getting. Maybe it is not the same error as I was getting
@Niiju just updated my packages again to see if they corrected it. In my case the error is gone now with the upgraded version
I am having the same issue:
"drizzle-orm": "^0.36.3",
"drizzle-kit": "0.28.1",
I have 0 code completion, typescript errors everywhere.
Can anyone help?
my config:
export const db = drizzle({
client: createPool(),
logger: true,
schema: { ...schema, ...relations },
})