Open laneme opened 7 months ago
Alright so I noticed you use prisma packages above v5.5.0
, so I bumpted my prisma to 5.6.0
(current latest) and the validation error supressed.
But, the generated file did Not have the imports written on top of the file.
Tested with
Status: Needs Fix
not sure if this is a requirement, but it didnt work for me until i turned useMultipleFiles to true to break the schemas into their own files.
Dealing with the same issue. I did find out import location is based on output location of the generated file, but turning on multiple files is the only thing I can do for the imports to appear. I am running the latest version of everything.
Tried to follow how it is documented exactly and some varations (tested my luck)
My config
Screenshots![image](https://github.com/chrishoermann/zod-prisma-types/assets/26094878/8065f73f-5484-405a-ad59-d9521b3616c3)
Package versions (please complete the following information):
3.1.6
and2.8.1
3.21.1
5.3.1