Closed Raduc4 closed 10 months ago
After playing with dependencies I could run the app using Prisma client and even insert something random in the SQLite DB.
However, cargo prisma generate
seems to not work properly. The generator misses a :
when generating the db.rs
file, requiring to add it manually.
A reproduction of this can be seen here.
Delete db.rs cd src-tauri cargo prisma generate the error is on line 641 Citadel Workspace
You haven't set a tag
for the prisma-client-rust-cli
dependency, it needs to match the tag
used for prisma-client-rust
.
Thanks for the hint.
tag="0.6.9"
made the app to compile, however the db.rs
file still has errors. Is this a normal behavior?
It's normal to have warnings, which can be silenced. If there's errors please open another issue.
In the end, that was a rust-analyzer freeze. All is good, thanks
OS- Arch Linux Rust - 1.71.0 environment - Tauri
I'm getting this error in db.rs that is generated wrong. I hope it is because of the features and I'd appreciate a hint on this. Thank you.
schema.prisma
Cargo.toml
prisma-cli/Cargo.toml