revert unresolved value patches

This commit is contained in:
Joe 2026-01-22 19:51:44 -06:00
parent fd47b8d3b1
commit 074e62951f
4 changed files with 47 additions and 100 deletions

View file

@ -123,11 +123,10 @@ fn json_model_from_pair<'sync>(
}
}
_ => {
if let Some(resolved) =
UnresolvedValue::from_variant(value.clone(), &new_inst.class, &name)
{
properties.insert(name, resolved);
}
properties.insert(
name,
UnresolvedValue::from_variant(value.clone(), &new_inst.class, &name),
);
}
}
}

View file

@ -147,11 +147,10 @@ impl AdjacentMetadata {
}
}
_ => {
if let Some(resolved) =
UnresolvedValue::from_variant(value.clone(), class, &name)
{
properties.insert(name, resolved);
}
properties.insert(
name,
UnresolvedValue::from_variant(value.clone(), class, &name),
);
}
}
}
@ -376,11 +375,10 @@ impl DirectoryMetadata {
}
}
_ => {
if let Some(resolved) =
UnresolvedValue::from_variant(value.clone(), class, &name)
{
properties.insert(name, resolved);
}
properties.insert(
name,
UnresolvedValue::from_variant(value.clone(), class, &name),
);
}
}
}

View file

@ -573,11 +573,10 @@ fn project_node_property_syncback(
}
}
_ => {
if let Some(resolved) =
UnresolvedValue::from_variant(value.clone(), &new_inst.class, &name)
{
properties.insert(name, resolved);
}
properties.insert(
name,
UnresolvedValue::from_variant(value.clone(), &new_inst.class, &name),
);
}
}
}