Cannot import Prisma Client when the output option of Prisma schema generate is enabled
hiroingk opened this issue · 2 comments
hiroingk commented
I have enabled the prisma schema generate output option to use prisma in a monorepo environment.
https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/generating-prisma-client#the-location-of-prisma-client
After updating to Prisma v5, '@prisma/client' is newly imported for Prisma.AtLeast in the code generated by prisma-nestjs-graphql.
However, it did not work because the Prisma Client generated using the output option was not imported.
Is there any way to change the Prisma Client to import?
Also, are there any plans to make it not depend on '@prisma/client'?
blaykelarue commented
Having this problem too. Would love to have this fixed!