Compatibility Issue with `immer` and Complex `Schema.Class` Structures in Effect
I noticed that my more complex schemas using nested
Originally I wanted to use
Schema.Class properties etc. are not compatible with immer. The issue came up with a simple example such as this:Originally I wanted to use
produce(this, draft => { draft.upgrade.time *= ... }) instead of manually spreading across multiple levels, but immer errors that the object is not supported. Is there a more idiomatic way to achieve this with Effect?