Hey!
I wanted to use ormx for quite some time, but never came around to porting existing "manual sqlx" code.
I sadly immediately bumped into the issue that the primary key (id = ...) cannot be of type String.
the trait bound `std::string::String: std::marker::Copy` is not satisfied
required by a bound in `ormx::Table::Id`
Is there a way around this issue or is this a limitation?
Of course String is Clone, but not Copy. Could this be changed or switched on with a feature flag?
Hey!
I wanted to use
ormxfor quite some time, but never came around to porting existing "manual sqlx" code.I sadly immediately bumped into the issue that the primary key (
id = ...) cannot be of typeString.Is there a way around this issue or is this a limitation?
Of course
StringisClone, but notCopy. Could this be changed or switched on with a feature flag?