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
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
Unknown Object (File)
Nov 19 2024, 5:13 AM
Unknown Object (File)
Nov 19 2024, 5:02 AM
Unknown Object (File)
Nov 19 2024, 2:25 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable