Maybe a noob question, I'm very new to Primsa, but is there an abstract type or interface for all the schemas? Since each of them has it's own type after Prisma generates them
r
Ryan
10/25/2021, 12:03 PM
@Moud 👋
Unfortunately not at the moment. Could you explain your use case?
m
Moud
10/25/2021, 12:05 PM
I'm building an abstract model class for all my models
Moud
10/25/2021, 12:06 PM
And I want to pass in the prisma object and jave the class make all the crud calls itself
r
Ryan
10/25/2021, 12:08 PM
As Prisma is not a class based ORM, that’s a bit difficult to achieve. Have a look at this request and the options specified to have a better idea 🙂