question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Smooth upgrade path from Prisma 1 to Prisma 2.0

See original GitHub issue

We’re planning to have a smooth upgrade path for existing Prisma 1 users.

The plan is to have:

  • extensive documentation on the upgrade process
    • Upgrading a REST API
    • Upgrading a GraphQL API based on nexus-prisma
    • Upgrading a GraphQL API based on prisma-binding to Nexus
    • Upgrading a GraphQL API based on prisma-binding to SDL-first
  • additional tooling that help transforming a Prisma 1 project into a Prisma 2 project

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:30
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

5reactions
nikolasburkcommented, May 12, 2020

Hey everyone, thanks a lot for staying patient 🙏 I want to share another quick update on the state of the upgrade path to Prisma 2.0.

We’ve just published a new docs page that has a lot of helpful information regarding the upgrade process.

Most importantly, it points out all relevant schema incompatibilies and different workarounds that can be applied. For most of the workarounds, you’ll actually be able to use the Prisma schema upgrade CLI tool that we’re also working on.

⚠️ The docs page as well as the Prisma schema upgrade CLI tool are still work in progress but we wanted to share an early version to give you an update on what we’re working on and get your feedback for it! Please let me know if anything on the docs page needs clarification (feel free to ping me directly on Slack if you have any questions).

As next steps, we will start working on more detailed migration guides for upgrading GraphQL APIs with prisma-binding and nexus. (Side-note for @LeonardoGentile, Prisma 2.0 doesn’t support prisma-binding any more. Alternatively you can use a plain SDL-first approach with graphql-tools or use GraphQL Nexus, this will be explained in the upcoming migration guides).

4reactions
nikolasburkcommented, May 15, 2020

Hey folks 🙌 here comes another update regarding the upgrade process to Prisma 2.0!

First version of an upgrade guide for prisma-binding

We have started working on more upgrade guides, a first one that explains how to upgrade a prisma-binding app to Prisma 2.0 and Nexus is now available as a first version. While the guide already contains a lot of helpful information, it is still _work in progress (that’s why it’s not yet available in the main Prisma docs, but only as a preview URL).

I would love to get feedback for the prisma-binding guide and learn more about how helpful it is to you! If you’re currently running a prisma-binding app and consider upgrading, please get in touch via email for ping me on Slack (I’m @nikolasburk there).

A new repository for dedicated upgrade feedback

I’ve also created a new repository that should serve as a central place to collect questions and issues about your upgrade process.

If you’re currently running Prisma 1 and are planning to upgrade soon, please open an issue there and share some more details about your upgrade scenario.

If you have any other questions or issues, feel free to create a new GitHub issue to raise these.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Smooth upgrade path from Prisma 1 to Prisma 2.0 · Issue #1937
We're planning to have a smooth upgrade path for existing Prisma 1 users. The plan is to have: extensive documentation on the upgrade...
Read more >
How to upgrade from Prisma 1 to Prisma version 2.x and later
Upgrading the Prisma layer: No matter what your Prisma 1 setup looks like, you should always start your upgrade process by following this...
Read more >
Upgrade from Prisma 1 to Prisma 2
In this section. How to upgrade · Schema incompatibilities · Upgrading the Prisma layer · Old to new Nexus ...
Read more >
Upgrade to Prisma 3
Guides on how to upgrade to Prisma 3.
Read more >
Upgrading the Prisma layer to Prisma 2 | PostgreSQL
This page explains the first step of your upgrade process: Taking your Prisma 1 configuration and upgrading it to Prisma 2. Concretely, you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found