Prisma 8 RC feedback: migrating a multi-tenant Next.js/Neon app ($extends, auth adapter, Decimal, error codes, reconnects)

Open
#31,104 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
next.js, postgresql, typescript

Research direction

Start by reading the six reported Prisma 8 migration pain points in the issue, especially the missing $extends pattern, changed error shape, and reconnect behavior. The payload names no source files or tests, so first identify which reports are reproducible and map to existing Prisma 8 code or documentation. Done means the requested migration guidance or supported behavior is defined across the reported areas; the issue does not specify a narrower scope.

Written by the indexing model from the issue text.

Description

We trialed Prisma 8.0.0-rc.34 with @prisma/orm-postgres 8.0.0-rc.24 on Nov 18, 2026 against a Next.js app on Vercel with Neon Postgres (about 1,515 Prisma 7 queries across about 190 files). Thanks for making the RC available.

What went well: our existing schema was read with no edits, the baseline migration and marker worked cleanly, and the side-by-side @prisma/prisma7 package let us install Prisma 8 without moving the running app off Prisma 7.

Pain points, with a request on each:

  1. No $extends equivalent. We rely on a query extension for multi-tenant row scoping. A supported pattern or migration guide would help.
  2. No Auth.js / NextAuth adapter for Prisma 8. An official adapter or a documented integration path would help.
  3. Decimal values come back as strings, which risks silent math bugs. An option to keep exact numeric values, or clear guidance, would help.
  4. Error shape changed: no code field, and SQLSTATE sits in cause/sqlState, so existing P2034 and P2002 checks stop matching silently. A compatibility helper or documented mapping would help.
  5. Reconnects: after a Postgres restart, 2 queries failed before reconnecting (vs 1 on Prisma 7), and there's no built-in retry. Transient-connection retry options would help.
  6. No generate, migrate dev, or db push. A clearer migration path from those Prisma 7 workflows would help.

We're staying on Prisma 7 for now and will revisit after the final release. Thanks for the work on Prisma 8.

Dominant language
TypeScript
Stars
47.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
227

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from prisma/orm

All issues in prisma/orm

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.