zenstack
zenstack copied to clipboard
[Feature Request] DRY up configuration for prisma schema location
In order to DRY up the configuration, consider using the default schema location defined in package.json for prisma.schema unless zenstack.prisma is specified.
Currently
package.json
{
"zenstack": {
"schema": "models/schema.zmodel",
"prisma": "models/prisma/schema.prisma"
},
"prisma": {
"schema": "models/prisma/schema.prisma"
},
}
Desired
{
"zenstack": {
"schema": "models/schema.zmodel",
},
"prisma": {
"schema": "models/prisma/schema.prisma"
},
}
Good idea @juni0r ! It looks better and avoids duplicates. I'll mark it V2 since if it's not urgent?
Not urgent at all. Thanks!