Skip to content

Commit 05a2756

Browse files
authored
updates (#854)
Signed-off-by: Jess Frazelle <[email protected]>
1 parent 9abc9eb commit 05a2756

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modeling-cmds/src/ok_response.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ define_ok_modeling_cmd_response_enum! {
853853
/// ID of the modeling command request.
854854
/// But if any extra solids are produced, then their IDs will be included
855855
/// here.
856+
#[serde(default, skip_serializing_if = "Vec::is_empty")]
856857
pub extra_solid_ids: Vec<Uuid>,
857858
}
858859

@@ -863,6 +864,7 @@ define_ok_modeling_cmd_response_enum! {
863864
/// ID of the modeling command request.
864865
/// But if any extra solids are produced, then their IDs will be included
865866
/// here.
867+
#[serde(default, skip_serializing_if = "Vec::is_empty")]
866868
pub extra_solid_ids: Vec<Uuid>,
867869
}
868870

@@ -873,6 +875,7 @@ define_ok_modeling_cmd_response_enum! {
873875
/// ID of the modeling command request.
874876
/// But if any extra solids are produced, then their IDs will be included
875877
/// here.
878+
#[serde(default, skip_serializing_if = "Vec::is_empty")]
876879
pub extra_solid_ids: Vec<Uuid>,
877880
}
878881

0 commit comments

Comments
 (0)