Page MenuHomePhabricator

[native] Create a single base class for all the ops
ClosedPublic

Authored by tomek on Mon, May 6, 6:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 18, 4:28 PM
Unknown Object (File)
Sat, May 18, 11:46 AM
Unknown Object (File)
Sat, May 18, 8:54 AM
Unknown Object (File)
Fri, May 17, 1:25 PM
Unknown Object (File)
Fri, May 17, 7:56 AM
Unknown Object (File)
Fri, May 17, 2:49 AM
Unknown Object (File)
Fri, May 17, 1:41 AM
Unknown Object (File)
Mon, May 13, 11:12 PM
Subscribers

Details

Summary

All the base classes were providing the same functions. Also, it is convenient to be able to store all the ops in a single array - in order to process them in a single transaction.

https://linear.app/comm/issue/ENG-6004/wrap-all-store-operations-from-one-action-in-transaction

Test Plan

Opened the app, modified a draft, closed and reopened the app - the draft was correct.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek requested review of this revision.Mon, May 6, 6:49 AM
kamil accepted this revision.EditedMon, May 6, 6:59 AM

I think in a couple of files you can add #include "DBOperationBase.h" to match our convention to always include header

This revision is now accepted and ready to land.Mon, May 6, 6:59 AM