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
Hi,
when i specify in prisma.schema the preview feature fieldReference, and build the application, some files identified to be imported are missing, like in the image above.
Bug description
Hi,
when i specify in prisma.schema the preview feature
fieldReference
, and build the application, some files identified to be imported are missing, like in the image above.How to reproduce
Add fieldReference in some prisma.schema file
generator client {
provider = "prisma-client-js"
// previewFeatures = ["fullTextSearch", "fullTextIndex", "tracing", "metrics", "orderByNulls", "filteredRelationCount", "fieldReference"]
previewFeatures = ["fullTextSearch", "fullTextIndex", "tracing", "metrics", "orderByNulls", "filteredRelationCount"]
}
Expected behavior
To generated the imported referenced in files
Prisma information
Add fieldReference in some prisma.schema file
generator client {
provider = "prisma-client-js"
// previewFeatures = ["fullTextSearch", "fullTextIndex", "tracing", "metrics", "orderByNulls", "filteredRelationCount", "fieldReference"]
previewFeatures = ["fullTextSearch", "fullTextIndex", "tracing", "metrics", "orderByNulls", "filteredRelationCount"]
}
Environment & setup
NodeJS 18, PostgresSQL 14+
Prisma Version
@prisma/client": "^4.11.0",
"prisma": "4.11.0",
The text was updated successfully, but these errors were encountered: