Description and expected behavior
I am attempting to update a Zenstack v2 project to utilize Prisma v7. My database seed uses the enhanced client and it works as expected. In using the rest api handler, every request fails with the following error:
{
"errors": [
{
"status": 404,
"code": "unsupported-model",
"title": "Unsupported model type",
"detail": "Model machineGroup doesn't exist"
}
]
}
Environment (please complete the following information):
- ZenStack version: 2.22.2
- Database type: mssql
- Node.js/Bun version: node 22
- Package manager: npm
Description and expected behavior
I am attempting to update a Zenstack v2 project to utilize Prisma v7. My database seed uses the enhanced client and it works as expected. In using the rest api handler, every request fails with the following error:
Environment (please complete the following information):