This repository was archived by the owner on Mar 21, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 122
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
prisma generate
panics when migrations feature is enabled #467
Copy link
Copy link
Open
Description
enabling features "rspc" and "migrations" together, and running prisma generate
causes the following panic:
#11 7.766 Compiling prisma-client-rust v0.6.11 (https://github.com/Brendonovich/prisma-client-rust?tag=0.6.11#3ac68d00)
#11 12.00 Compiling MassServer v0.1.0 (/app)
#11 18.82 Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.34s
#11 19.24 Running `/target/debug/prisma generate`
#11 38.63 Error:
#11 38.63 at ./src/bin/prisma.rs:2:5
#11 38.63 16: core::ops::function::FnOnce::call_once
#11 38.63 at /rustc/0d634185dfddefe09047881175f35c65d68dcff1/library/core/src/ops/function.rs:250:5
#11 38.63 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Removing the "migrations" feature causes the generator to work as expected.
Metadata
Metadata
Assignees
Labels
No labels