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

Migrate to latest prisma version #389

Open
hgwood opened this issue Aug 2, 2023 · 1 comment
Open

Migrate to latest prisma version #389

hgwood opened this issue Aug 2, 2023 · 1 comment
Assignees

Comments

@hgwood
Copy link
Contributor

hgwood commented Aug 2, 2023

This migration should not touch the client. But it should touch the deployment pipeline, since the prisma server will no longer exist.

@hgwood
Copy link
Contributor Author

hgwood commented Aug 31, 2023

Rough roadmap

  • Translate datamodel.graphql to modern Prisma model syntax
  • Remove prisma and prisma-binding from dependencies
  • Install @prisma/cli and @prisma/client and generate the client with prisma generate
  • In multitenant.js replace the client constructor provided by prisma-binding by the client constructor from @prisma/client
  • Refactor all ctx.prisma usage to modern Prisma Client API

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

2 participants