Nexus-plugin-prisma: [Question] What will be updated in prisma-nexus when prisma2 is released?

Created on 19 Jun 2019  路  6Comments  路  Source: graphql-nexus/nexus-plugin-prisma

Hi! Today, I've been working hard in making production server with prisma-nexus and I really love it. My question is what's the effect with prisma-nexus when prisma2 is released?

I am concerned with the migration.

Thanks.

typdocs

All 6 comments

I鈥檇 also be interested to know. I鈥檓 aware that the Prisma 2 preview was only released today but I鈥檝e not seen any mention of Nexus. I鈥檓 looking forward to seeing where this all goes but, like you, I just finished migrating my app to Nexus so I鈥檇 like to know what鈥檚 coming.

Prisma2 is having nexus-prisma internally in boilerplate.
image

Love to see how we can migrate our nexus-prisma project.

Thanks everyone for participating in this discussion! There would be some breaking API changes in nexus with Prisma 2. @hyochan's comment points to how that would look like, we also rewrote our typescript and javascript examples with the upcoming API. Please take a look and share your feedback.

These changes are documented here as well: https://nexus.js.org/docs/database-access-with-prisma-v2

While there are some changes in the API, the new API is much shorter and migration should be straight forward.

I鈥檇 also be interested to know. I鈥檓 aware that the Prisma 2 preview was only released today but I鈥檝e not seen any mention of Nexus. I鈥檓 looking forward to seeing where this all goes but, like you, I just finished migrating my app to Nexus so I鈥檇 like to know what鈥檚 coming.

I really love Prisma but I have to say that working on a project with the threat that it might be using obsolete/deprecated tools in less than 6 month time does concern me.

Anyway, I guess it's more fun that way! :-)

I really love Prisma but I have to say that working on a project with the threat that it might be using obsolete/deprecated tools in less than 6 month time does concern me.

@pierreyves-lebrun Yeah, I know what you mean. I know there's no _need_ to always upgrade to the latest and greatest but I've personally found Prisma to be moving so fast that before I've finished building something, there's often a much _better_ way to do it, e.g. with the recent introduction of nexus, which I just upgraded my app to.

Anyway, progress is good, I guess. I'm looking forward to seeing where they go with Prisma 2!

Related to #421

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mohe2015 picture mohe2015  路  3Comments

jasonkuhrt picture jasonkuhrt  路  4Comments

RAW4RMCS picture RAW4RMCS  路  3Comments

antonbramsen picture antonbramsen  路  4Comments

lterfloth picture lterfloth  路  5Comments