Closed
Description
Zenstack plugin import from a npm package leads to Cannot find model file
(although it does work when trying to do npx zenstack generate
)
Plugin version: v2.3.0
An easy way to reproduce in case you need a npm package:
npm install @dptickets2/common
then in schema.zmodel
file:
import '@dptickets2/common/models/outbox'
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")}
The issue is quite annoying because right now in vscode, i have an error indication that reflects on my whole repository.
Metadata
Metadata
Assignees
Labels
No labels