Closed chunkerchunker closed 8 months ago
Description and expected behavior
The following schema fails compilation for zenstack but compiles successfully for prisma:
datasource db { provider = "postgresql" url = env("DATABASE_URL") } generator client { provider = "prisma-client-js" } model Test { id String @id props TestEnum[] @default([]) } enum TestEnum { A B }
Zenstack generate fails with:
Validation errors: line: xxx: Value is not assignable to parameter [[]]
Environment
Additional context
Hi @chunkerchunker , thanks for filing this issue and making the PR!
Description and expected behavior
The following schema fails compilation for zenstack but compiles successfully for prisma:
Zenstack generate fails with:
Environment
Additional context