Flatten Action with serde instead of ts_rs

This commit is contained in:
Sebastian Martinez
2024-10-23 16:37:00 +02:00
parent fc8613606d
commit 56f55051eb
+1 -1
View File
@@ -56,7 +56,7 @@ impl Issue {
pub struct Operation {
#[ts(as = "String")]
pub entry_id: git::Oid,
#[ts(flatten)]
#[serde(flatten)]
pub action: Action,
#[ts(type = "number")]
pub timestamp: cob::Timestamp,