dmmf in prisma 5

I'm loading a prisma model metadata like this in prisma 4: let currentModel = Prisma.dmmf.datamodel.models.find(m => m.name === model) It seems Prisma.dmmf is undefined in prisma 5. I need it in filter string parsing, to find out whether a certain field is a list, so that I can nest it within "some" prisma filter construct. Any suggestions as to what I can use in prisma 5 to achieve the same?
0 Replies
No replies yetBe the first to reply to this messageJoin