Open tom-groves opened 2 weeks ago
Thanks for the excellent work on Prisma 😄 I'm encountering a bug as follows:
I am using the prismaSchemaFolder preview feature. My source code is structured by module, i.e.:
prismaSchemaFolder
src ├── modules │ ├── company │ │ ├── company.graphql │ │ ├── company.prisma │ │ └── company.resolver.ts │ ├── project │ │ ├── project.graphql │ │ └── project.prisma └── schema.prisma
The Prisma CLI is able to correctly generate based on the nested Prisma files, but the VS Code extension is not, as indicated in the following screenshot:
npx prisma generate
src/modules/company/company.prisma
The Prisma extension resolves the various nested .prisma files.
.prisma
Thanks for the excellent work on Prisma 😄 I'm encountering a bug as follows:
Bug description
I am using the
prismaSchemaFolder
preview feature. My source code is structured by module, i.e.:The Prisma CLI is able to correctly generate based on the nested Prisma files, but the VS Code extension is not, as indicated in the following screenshot:
How to reproduce
npx prisma generate
will generate the Prisma Client successfullysrc/modules/company/company.prisma
, will be in an error stateExpected behavior
The Prisma extension resolves the various nested
.prisma
files.