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

Support --generator option to generate cmd #432

Open
listepo opened this issue Jan 20, 2024 · 2 comments
Open

Support --generator option to generate cmd #432

listepo opened this issue Jan 20, 2024 · 2 comments

Comments

@listepo
Copy link

listepo commented Jan 20, 2024

For this feature we need update prisma to 4.10+ prisma/prisma#16452
or support npx prisma generate --generator client_rust
now throw error

Generator "cargo prisma" failed:

    Finished dev [unoptimized + debuginfo] target(s) in 5.49s
     Running `target/debug/prisma`
thread 'main' panicked at /Users/ivan/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/3ac68d0/sdk/src/runtime.rs:57:26:
Failed to deserialize DMMF from Prisma engines: Error { path: Path { segments: [Map { key: "generator" }, Map { key: "binaryTargets" }, Seq { index: 0 }] }, original: Error("invalid type: map, expected a string", line: 1, column: 797) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
``
@Brendonovich
Copy link
Owner

0.7.0 will be using v5 of the engines, so this will be supported

@listepo
Copy link
Author

listepo commented Jan 29, 2024

@Brendonovich Is there any release date?

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