Open
Description
Something like this:
{
foo: {
value: path.bar
},
bar: {
name: "I'm bar"
}
}
const a: producer = ({
name: observe.foo.value.name
}) => {
name // I'm bar
}
In terms of regular data usage this should be avoided as it adds unnecessary complexity. But for libraries that need to orchestrate around dynamic paths and data could provide the needed level of flexibility to construct complex processes but without the overhead of copying or composing and decomposing data everytime a different location is used.