From 30638bd80bb7847f5173f465c80892940ae7ee4d Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 21 Sep 2024 06:37:51 +0200 Subject: [PATCH] fix --- src/flow.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flow.rs b/src/flow.rs index 1b420b7..c44134d 100644 --- a/src/flow.rs +++ b/src/flow.rs @@ -4,8 +4,10 @@ use mongod::{assert_reference_of, reference_of, Reference, Validate}; #[derive(Debug, Clone, Serialize, Deserialize, Model, Referencable)] pub struct FlowInfo { + #[serde(default)] pub _id: String, pub name: String, + #[serde(default)] pub depends: Vec, pub next: Option, pub produces: Option>,