-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow the generator execution to be disabled #112
Comments
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
.The text was updated successfully, but these errors were encountered: