Skip to content

Commit

Permalink
Add PartialEq and ts derives
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamaan476 committed Jan 17, 2025
1 parent d51b449 commit 2c488e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modeling-cmds/src/def_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,9 @@ define_modeling_cmd_enum! {
}

/// Project an entity on to a plane.
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema, ModelingCmdVariant)]
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema, ModelingCmdVariant, PartialEq)]
#[cfg_attr(feature = "ts-rs", derive(ts_rs::TS))]

Check warning on line 1050 in modeling-cmds/src/def_enum.rs

View check run for this annotation

Codecov / codecov/patch

modeling-cmds/src/def_enum.rs#L1049-L1050

Added lines #L1049 - L1050 were not covered by tests
#[cfg_attr(feature = "ts-rs", ts(export_to = "ModelingCmd.ts"))]
pub struct ProjectEntityToPlane {
/// Which entity to project (vertex or edge).
pub entity_id: Uuid,
Expand Down

0 comments on commit 2c488e0

Please sign in to comment.