How would I add the prisma client as property to the Augment.d.ts?
as the title said.
This is how our implementation worked for over a year, but while trying to upgrade all of our deps. there is no prisma client available anymore.

11 Replies
I checked in Sykra but somehow i am to stupid to find how you extended the container there

okay nvm in the prisma.ts file
https://github.com/skyra-project/skyra/blob/a6d3d1120e8962252df4aeafe993a6d8c27c5cc9/src/lib/setup/prisma.ts#L3
okay but it looks like skyra should have the same issue, there is no
import { PrismaClient } from '@prisma/client';
maybe kyra can help me thereWhat version did you update the dependencies too?
I have 5.22, skyra uses 5.17
This could be something local, I'm on the latest version of Prisma and Sapphire with no issue with that code. The only difference with mine is I set the client in my Client's constructor
let me reinstall the deps
Augments.ts
CustomClient.ts
bruh
Solution
I forgot to
prisma generate
after reinstalling prisma dep hahadevil is in the details
hahaha well, glad you got it solved.
We all have those days