-
-
Notifications
You must be signed in to change notification settings - Fork 104
Error: Value must be boolean #2038
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
Labels
Comments
Hi @baenio , thanks filing this. I think it's caused by a specific attribute. Do you have a minimal sharable ZModel file? |
Hey @ymc9! It's rather a big project. Can you specify, what is needed? Here is the base schema.zmodel, without any models generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "darwin-arm64", "rhel-openssl-1.0.x"]
previewFeatures = ["omitApi","postgresqlExtensions","views"]
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
directUrl = env("DIRECT_URL")
extensions = [pgcrypto]
}
plugin hooks {
provider = "@zenstackhq/swr"
output = "../hooks/zenstack"
}
|
I think I know where the problem is now. Will make a fix soon @baenio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description and expected behavior
After upgrading ZenStack from version 2.11.1 to 2.12.2, I encountered an error when running
npx zenstack generate
.Error
Environment
The text was updated successfully, but these errors were encountered: