Update CHANGELOG.md
This commit is contained in:
parent
ead131d937
commit
907a1870f5
24
CHANGELOG.md
24
CHANGELOG.md
@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## 1.1.1 - pending
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
* [sea-orm-macros] `impl From<Model> for ActiveModel` instead of `impl From<<Entity as sea_orm::EntityTrait>::Model> for ActiveModel`.
|
||||||
|
Now the following can compile:
|
||||||
|
```rust
|
||||||
|
use sea_orm::{tests_cfg::cake, Set};
|
||||||
|
|
||||||
|
struct Cake {
|
||||||
|
id: i32,
|
||||||
|
name: String,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl From<Cake> for cake::ActiveModel {
|
||||||
|
fn from(value: Cake) -> Self {
|
||||||
|
Self {
|
||||||
|
id: Set(value.id),
|
||||||
|
name: Set(value.name),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## 1.1.0 - 2024-10-15
|
## 1.1.0 - 2024-10-15
|
||||||
|
|
||||||
### Versions
|
### Versions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user