Yield remote fields without needing to clear the original field value (#4515)
This commit is contained in:
parent
ec0c28fa74
commit
d7b392cf8b
1 changed files with 5 additions and 0 deletions
|
@ -151,6 +151,11 @@ impl Value {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// Current value at path is a record
|
||||||
|
Value::Thing(_) => {
|
||||||
|
*self = Value::base();
|
||||||
|
stk.run(|stk| self.set(stk, ctx, opt, path, val)).await
|
||||||
|
}
|
||||||
// Current value at path is empty
|
// Current value at path is empty
|
||||||
Value::Null => {
|
Value::Null => {
|
||||||
*self = Value::base();
|
*self = Value::base();
|
||||||
|
|
Loading…
Reference in a new issue