0.11.3
Enhancements
- Re-export
sea_orm::ConnectionTrait
insea_orm_migration::prelude
#1577 - Support generic structs in
FromQueryResult
derive macro #1464, #1603
#[derive(FromQueryResult)]
struct GenericTest<T: TryGetable> {
foo: i32,
bar: T,
}
trait MyTrait {
type Item: TryGetable;
}
#[derive(FromQueryResult)]
struct TraitAssociateTypeTest<T>
where
T: MyTrait,
{
foo: T::Item,
}