In Vinum, specifically with writing, there is no standardized writing solution. This problem arises when generally working with objects or tools that "just change the value".
Additionally, Vinum objects are different in how they store their values- for example, Reflects don't store values on their own, while Records do- this creates a complexity when working with objects such as Writables, since then you have to worry a lot about edge cases, and implementing support for specific objects.
The solution I have in mind is to have two internal methods that perform the reading and the writing (alongside writing, dependency stuff can be invoked as well), that are invoked using whatever the new standardized APIs that will be added.
In Vinum, specifically with writing, there is no standardized writing solution. This problem arises when generally working with objects or tools that "just change the value".
Additionally, Vinum objects are different in how they store their values- for example, Reflects don't store values on their own, while Records do- this creates a complexity when working with objects such as Writables, since then you have to worry a lot about edge cases, and implementing support for specific objects.
The solution I have in mind is to have two internal methods that perform the reading and the writing (alongside writing, dependency stuff can be invoked as well), that are invoked using whatever the new standardized APIs that will be added.