graphql-nexus / nexus-plugin-prisma

Deprecated
MIT License
828 stars 118 forks source link

What are we supposed to do with Nexus and Prisma currently? #1118

Open NTag opened 3 years ago

NTag commented 3 years ago

Hello,

We're using Prisma and Nexus in production. We saw a major version 3.0 and now 3.1 have been released.

However this plugin hasn't been updated and limits the version to 2.23 (8 versions behind!), and its replacement nexus-prisma advertises that it's not production ready.

It's really annoying because we can't upgrade Prisma and are falling behind. The longer we wait to upgrade Prisma, the harder it will become…

What's the workaround proposed by Prisma/Nexus team? Couldn't you just update this plugin so at least we can properly use the latest Prisma version?

Thank you very much 🙏 .

gustawdaniel-acaisoft commented 3 years ago

I had similar problem with this tech stack. I was delighted by nexus framework, but too frequent name changes and abandonment of framework discouraged me.

In my opinion best indicator of real state of project are contributions of @jasonkuhrt.

Prisma is probably focused on cloud because of financial issues, and this project seems to be maintained, but not actively developed.

Update

Official answer: "The Prisma team is currently rewriting the plugin to make it maintainable longterm."

https://github.com/graphql-nexus/nexus-plugin-prisma/issues/1094

MercurialWeb commented 3 years ago

We are in the same situation. The last commit of the new plugin dates back to a month ago. Is the plugin still in development? When will it be ready? If it takes years it is best to remove the plugin.

deadcoder0904 commented 3 years ago

Would love to know this as well as I can't use it with next-auth which is what I'm using for authentication.

Can you guys please update the plugin to at least support 2.26.x since that is required for next-auth's prisma adapter to work?

See the linked issue above :)

oceandrama commented 3 years ago

You can try to use this fork https://github.com/kenchi/nexus-plugin-prisma It works well with v 3.3.0

macrozone commented 3 years ago

@oceandrama did you push a pull request back? I think the original maintainers should at least review prs and merge if possible.

macrozone commented 3 years ago

by the way, i updated to prisma 3.3.0 and had no problem so far, only problem is

Warning: nexus-plugin-prisma@0.35.0 does not support @prisma/client@3.3.0.

anything i should be aware of that does not work?

TheoMer commented 1 year ago

by the way, i updated to prisma 3.3.0 and had no problem so far, only problem is


Warning: nexus-plugin-prisma@0.35.0 does not support @prisma/client@3.3.0.

anything i should be aware of that does not work?

Did you by any chance find out if anything didn't work?