Page MenuHomePhabricator

Refactor getAllDrafts. Bring db drafts parsing to separate function
ClosedPublic

Authored by marcin on Nov 30 2022, 10:34 AM.
Tags
None
Referenced Files
F3500681: D5771.id19094.diff
Fri, Dec 20, 2:12 AM
F3499465: D5771.id19018.diff
Thu, Dec 19, 11:12 PM
F3497988: D5771.diff
Thu, Dec 19, 8:28 PM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:39 AM
Subscribers

Details

Summary

This differential refactors getAllDrafts method so that draft parsing is implemented in separate function. This is going to be used when creating bulk JSI query for all SQLite data

Test Plan

Launch the app, write some drafts, kill the app. Launch the app, launch Flipper ensure SET_CLIENT_DB_STORE action payload has corract drafts property.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-2137
Lint
No Lint Coverage
Unit
No Test Coverage