Page MenuHomePhabricator

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

Authored by tomek on May 6 2024, 6:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 4, 7:10 PM
Unknown Object (File)
Nov 18 2024, 6:27 PM
Unknown Object (File)
Nov 18 2024, 6:26 PM
Unknown Object (File)
Nov 18 2024, 6:21 PM
Unknown Object (File)
Nov 18 2024, 4:31 PM
Unknown Object (File)
Nov 17 2024, 8:09 PM
Unknown Object (File)
Nov 10 2024, 6:28 PM
Unknown Object (File)
Nov 10 2024, 6:22 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.May 6 2024, 6:49 AM
kamil accepted this revision.EditedMay 6 2024, 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.May 6 2024, 6:59 AM