Skip to content

Commit de8788e

Browse files
Ben/solid info follow up (#883)
* return original edge info as well * change name to be the same as the others --------- Co-authored-by: benjamaan476 <[email protected]>
1 parent f19dec8 commit de8788e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modeling-cmds/src/ok_response.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,8 +910,9 @@ define_ok_modeling_cmd_response_enum! {
910910
/// adjacent/opposite edges).
911911
#[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)]
912912
pub struct AdjacencyInfo {
913-
/// Edge id.
914-
pub edge_id: Uuid,
913+
/// Original edge id and face info.
914+
#[serde(default, skip_serializing_if = "Option::is_none")]
915+
pub original_info: Option<EdgeInfo>,
915916
/// Opposite edge and face info.
916917
#[serde(default, skip_serializing_if = "Option::is_none")]
917918
pub opposite_info: Option<EdgeInfo>,

0 commit comments

Comments
 (0)