Skip to content

Commit

Permalink
ensure we dont serialize if none (#744)
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz authored Jan 27, 2025
1 parent 0ac5c37 commit a18cb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modeling-cmds/src/def_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ define_modeling_cmd_enum! {
pub cut_type: CutType,
/// The ID to use for the newly created fillet face.
/// If not provided, the server will randomly generate one.
#[serde(default)]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub face_id: Option<Uuid>,
}

Expand Down

0 comments on commit a18cb7f

Please sign in to comment.