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
F3513110: D11902.id39989.diff
Sat, Dec 21, 10:33 PM
F3513109: D11902.id39987.diff
Sat, Dec 21, 10:33 PM
F3513108: D11902.id39988.diff
Sat, Dec 21, 10:33 PM
F3513107: D11902.id39844.diff
Sat, Dec 21, 10:33 PM
F3513097: D11902.id.diff
Sat, Dec 21, 10:33 PM
F3513092: D11902.diff
Sat, Dec 21, 10:33 PM
Unknown Object (File)
Wed, Dec 4, 7:10 PM
Unknown Object (File)
Nov 18 2024, 6:27 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
No Lint Coverage
Unit
No Test Coverage

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