Skip to content

Commit

Permalink
feat: Implement parameter conversion todo for min-parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
jetuk committed Sep 18, 2023
1 parent aa79011 commit 4a97ce9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/schema/parameters/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ impl TryFromV1Parameter<ParameterV1> for Parameter {
CoreParameter::TablesArray(p) => {
Parameter::TablesArray(p.try_into_v2_parameter(parent_node, unnamed_count)?)
}
CoreParameter::Min(_) | CoreParameter::Division(_) => todo!(),
CoreParameter::Min(p) => Parameter::Min(p.try_into_v2_parameter(parent_node, unnamed_count)?),
CoreParameter::Division(_) => todo!(),
},
ParameterV1::Custom(p) => {
println!("Custom parameter: {:?} ({})", p.meta.name, p.ty);
Expand Down

0 comments on commit 4a97ce9

Please sign in to comment.