Closed gregg-cbs closed 8 months ago
@gregg-cbs the first example should work now in the latest version when using
/// @zod.describe("some description")
model MyModel {
...fields
}
for the second one there is no solution implemented yet
Thanks. I have since moved on from this project using prisma. I appreciate the response. Hopefully this will help others out there.
Hi Chris,
Sorry to bother you but I have a question I couldnt quite find the answer to.
In my prisma.schema I want to add zod comments to types to add a description to zod.
or better yet (this failed because z.object is not equal to Dimensions type)
Neither method was successful in adding the descriptions to zod.