Freeze objects that really do need to keep their values the same
knod opened this issue · comments
knod commented
Like data from programs, non-clone clients, etc.
Turner Hayes commented
There is an implementation of a deepFreeze
function that has since been deleted from the codebase since it's not being used anymore, but it's still visible here if whoever takes this on wants to use or adapt it. That function returns a frozen clone of the object passed in, rather than freezing the object in-place; that may or may not be desirable here. If we want an in-place freezer, there's a library that does that (have not tested it myself though).