-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
I love using Pal.js, but after updating Prisma to version 7, code generation no longer works.
Running pal generate triggers the following error:
GetDmmfError: Prisma schema validation - (get-dmmf wasm)
Error code: P1012
error: Argument "url" is missing in data source block "db".
--> schema.prisma:1
|
1 | datasource db {
2 | provider = "postgresql"
3 | }
|
Validation Error Count: 1
[Context: getDmmf]
Prisma CLI Version: 6.19.0It seems that Pal.js does not support the new Prisma 7 CLI behavior.
Even though my previous setup worked fine, Prisma 7 now requires stricter validation on the datasource configuration—causing Pal.js to break before generation.
Request
Is there any plan to support Prisma 7, or a recommended workaround to make pal generate work with the new Prisma CLI?
Thanks in advance!
coderabbitai
Metadata
Metadata
Assignees
Labels
No labels