Ensure values in patches are never a draft
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When you are generating patches in a nested reducer, patches values can be a Proxy. They need to be cloned before stored into the patch otherwise the patch can not be applied as the proxy will be revoked. Fixes #559
authored by Renaud Chaput · committed by Renaud Chaput · parent 0722281 · Browse files · 2 files+51 added−6 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+51 added−6 removed
- tests:+35 added−1 removed
- other:+16 added−5 removed