Open jdic opened 2 weeks ago
Hi @jdic, this is expected, as Edge Runtimes are only supported via the driverAdapters
preview feature (driven by https://github.com/prisma/prisma/issues/21394), which allows you to plug in JS database drivers rather than the Rust drivers embedded in Prisma's Query Engine.
The databases providers currently supported are sqlite
, postgresql
, and mysql
(PlanetScale / Vitess).
I see you're using mongodb
, for which we have no current plans.
Would you consider closing this issue in favor of a new one titled e.g. "Request: support mongodb
driverAdapters"?
Thanks!
Bug description
Middleware does not work, but when the middleware does nothing it does work, for example:
Output:
When extending auth, extending auth I never receive correct information because the middleware does not pass any value in req.auth.
When I try to use the middlewares from auth.ts:
auth.ts
How to reproduce
Have the middleware active and load a page.
Expected behavior
No response
Prisma information
Environment & setup
Prisma Version