src/repositories/unit_of_work.cjs
BeforeProposed
+1−1
1313 }
1414
1515 transaction(work) {
16 const draft = this.state;
16 const draft = structuredClone(this.state);
1717 const result = work(draft);
1818 draft.revision += 1;
1919 this.state = draft;