Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to choose a specific prisma version? Prisma v2.6.0 has a breaking unintentional bug. #821

Closed
johhansantana opened this issue Sep 2, 2020 · 1 comment

Comments

@johhansantana
Copy link

Is there a way to choose a specific Prisma version with this plugin?

There was a breaking bug in a recent version of Prisma and wanted to know if it was possible to tell the plugin which version to use?

@johhansantana johhansantana changed the title A way to choose a specific prisma version? A way to choose a specific prisma version? Prisma v2.6.0 has a braking unintentional bug. Sep 2, 2020
@johhansantana johhansantana changed the title A way to choose a specific prisma version? Prisma v2.6.0 has a braking unintentional bug. A way to choose a specific prisma version? Prisma v2.6.0 has a breaking unintentional bug. Sep 2, 2020
@johhansantana
Copy link
Author

For anyone trying to change the prisma dependencies in this plugin, here's a way of doing it with yarn:

add this to your package.json

"resolutions": {
    "nexus-plugin-prisma/@prisma/ci-info": "2.1.2",
    "nexus-plugin-prisma/@prisma/cli": "2.4.0",
    "nexus-plugin-prisma/@prisma/client": "2.4.0",
    "nexus-plugin-prisma/@prisma/debug": "2.4.0",
    "nexus-plugin-prisma/@prisma/engine-core": "2.4.0",
    "nexus-plugin-prisma/@prisma/fetch-engine": "2.4.0",
    "nexus-plugin-prisma/@prisma/generator-helper": "2.4.0",
    "nexus-plugin-prisma/@prisma/get-platform": "2.4.0",
    "nexus-plugin-prisma/@prisma/sdk": "2.4.0"
  }

change the versions to the ones that you want basically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant