zod-prisma icon indicating copy to clipboard operation
zod-prisma copied to clipboard

Support for Prisma v4

Open SOULPWRD opened this issue 2 years ago • 3 comments

Hi!

Fist of all, thank you for this package :)

I'm about to upgrade from Prisma v3 to v4. Unfortunately npm cli rejects to do the upgrade because the peer deps support only Prisma version ^3.0.0. I've noticed you've already started working on zod-prisma v1. Do you have some rough estimate when it's going to be released please?

Thank you in advance!

SOULPWRD avatar Aug 04 '22 11:08 SOULPWRD

My project uses Prisma v4 and I can't use this awesome package 😢

Is there any update about it?

mauriciabad avatar Dec 04 '22 17:12 mauriciabad

Well, I'll just use prisma-zod-generator meanwhile.

mauriciabad avatar Dec 04 '22 20:12 mauriciabad

Actually, you can use it with Prisma >= 4.0 by modifying your package.json file. Just add these lines: "overrides": { "zod-prisma": { "prisma": "$prisma" } },

baran-ozer avatar Oct 30 '23 10:10 baran-ozer