Closed manarjan closed 3 years ago
Import {Prisma} from "../generate/client"
and
const select = new PrismaSelect(info, {dmmf:Prisma.dmmf}).value;
@AhmedElywa thanks for the quick response.
I was able to make it work, although with a slight modification.
const select = new PrismaSelect(info, { dmmf: [Prisma.dmmf] }).value;
had to pass the dmmf in an array.
I am getting the below error when I try to use
const select = new PrismaSelect(info).value;
My PrismaClient is in a custom path rather than the default, as I am using a monorepo for multiple microservices.
Is there a way to point PrismaSelect to the correct Client?