paljs / prisma-tools

Prisma tools to help you generate CRUD system for GraphQL servers
https://paljs.com
MIT License
680 stars 55 forks source link

feat(select): Support new Prisma V4 schema-less dmmf file #277

Closed konsti closed 1 year ago

konsti commented 1 year ago

Prisma released v4 a while ago. Unfortunately, they do not export the dmmf.schema any more in their generated client. (see: https://www.prisma.io/docs/guides/upgrade-guides/upgrading-versions/upgrading-to-prisma-4#prisma-no-longer-exports-prismadmmfschema-into-the-generated-prisma-client)

PrismaSelect does not require the schema, but only the datamodel, so this change will support v4.

AhmedElywa commented 1 year ago

I am working in a new version and will push soon thanks for you help

konsti commented 1 year ago

👍 Thx. Let me know if you need any help.