You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in using postgres for my database, but cargo build --features postgres fails with a type error. The solo-machine-core crate does support this as a feature, but isn't working as expected.
Replicating the error
Clone repo
cargo build --features postgres
Observe the following error:
...
error[E0271]: type mismatch resolving `<impl Executor<'e, Database = Db> as Executor<'_>>::Database == Sqlite`
--> solo-machine-core/src/model/chain/chain_keys.rs:94:16
|
94 | .fetch_all(executor)
| --------- ^^^^^^^^ expected `Sqlite`, found `Postgres`
| |
| required by a bound introduced by this call
|
The text was updated successfully, but these errors were encountered:
Summary
I'm interested in using postgres for my database, but
cargo build --features postgres
fails with a type error. Thesolo-machine-core
crate does support this as a feature, but isn't working as expected.Replicating the error
cargo build --features postgres
The text was updated successfully, but these errors were encountered: