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

Allow the generator execution to be disabled

Open aiji42 opened this issue 2 years ago • 1 comments

I have a need to intentionally stop zod-prisma generation, for example when running prisma generate on CI.

It would be useful to be able to temporarily disable it via an environment variable. e.g. ZOD_PRISMA_DISABLE=true yarn prisma generate.

aiji42 avatar Apr 26 '22 05:04 aiji42

I'm late to the show but I just published a similar generator (zod-prisma-types) that lets you define in which environment it should be run.

chrishoermann avatar Dec 12 '22 20:12 chrishoermann