nexus-plugin-prisma icon indicating copy to clipboard operation
nexus-plugin-prisma copied to clipboard

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

Open NTag opened this issue 3 years ago • 7 comments

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 🙏 .

NTag avatar Sep 24 '21 12:09 NTag

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

gustawdaniel-acaisoft avatar Sep 26 '21 08:09 gustawdaniel-acaisoft

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.

MercurialWeb avatar Oct 19 '21 08:10 MercurialWeb

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 :)

deadcoder0904 avatar Oct 20 '21 04:10 deadcoder0904

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

oceandrama avatar Oct 24 '21 13:10 oceandrama

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

macrozone avatar Nov 03 '21 09:11 macrozone

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

Warning: [email protected] does not support @prisma/[email protected].

anything i should be aware of that does not work?

macrozone avatar Nov 03 '21 09:11 macrozone

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


Warning: [email protected] does not support @prisma/[email protected].

anything i should be aware of that does not work?

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

TheoMer avatar Apr 14 '23 18:04 TheoMer