Cauen / prisma-generator-pothos-codegen

The fastest way to create a fully customizable CRUD Graphql API from Prisma Schema.
https://www.npmjs.com/package/prisma-generator-pothos-codegen
95 stars 16 forks source link

please update the peer dependencies for "@pothos/core" and "@pothos/plugin-prisma" to version >= 4.1 #73

Open ad6025b opened 1 month ago

ad6025b commented 1 month ago

@Cauen please update the pothos peer dependencies in https://github.com/Cauen/prisma-generator-pothos-codegen/blob/master/package.json

"@pothos/core": "^3.23.0",
"@pothos/plugin-prisma": "^3.37.0",

please update them to latest >4.1 versions
"@pothos/core": "^4.1.0", "@pothos/plugin-prisma": "^4.2.1",

the context is that pothos recently updated their package to 4.x to fix https://github.com/prisma/prisma/issues/23913 -> prisma dmmf issue (see last comment on ticket)

ad6025b commented 1 month ago

@Cauen btw, i see your version 0.7.0 has the 4.0 -> https://github.com/Cauen/prisma-generator-pothos-codegen/commit/25f71f5bb7e933275a63287b07d2e9e126ba5420

but it still failed, and i had to force the @pothos/core@4.1.0 to be installed

npm install @pothos/core@4.1.0 --legacy-peer-deps