You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to convert prisma schema to typescript models using pal schema typescript as per the docs. I am getting this error "◢ Converting your schema TypeError: Cannot read properties of undefined (reading 'includes')"
I tried pal g to generate with below json, it says "✔ Generating your files" but I am not seeing any files.
{
"schema1": {
"schema": "./prisma/schema.prisma",
"backend": {
"prismaName": "prisma",
"generator" : "nexus",
"onDelete" : true,
"output" : "src/test.ts"
},
"frontend": {
"admin": "false"
}
}
}
Could someone guide me in this regard please?.
Thanks
Sunil K
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to convert prisma schema to typescript models using pal schema typescript as per the docs. I am getting this error "◢ Converting your schema TypeError: Cannot read properties of undefined (reading 'includes')"
I tried pal g to generate with below json, it says "✔ Generating your files" but I am not seeing any files.
{
"schema1": {
"schema": "./prisma/schema.prisma",
"backend": {
"prismaName": "prisma",
"generator" : "nexus",
"onDelete" : true,
"output" : "src/test.ts"
},
"frontend": {
"admin": "false"
}
}
}
Could someone guide me in this regard please?.
Thanks
Sunil K
The text was updated successfully, but these errors were encountered: