HomePhabricator
Diffusion Comm 94c5535f077d

[native] Update `translateClientDBData` so consuume…

Tags
None
Referenced Files
F948732: 0d15e4.png
Dec 15 2023, 8:21 AM
File Not Attached
F948641: 9af274.png
Dec 15 2023, 8:21 AM
File Not Attached
Subscribers
None

Description

[native] Update translateClientDBData so consuume convertClientDBThreadInfoToRawThreadInfo

Summary: We want to replace deprecatedConvertClientDBThreadInfoToRawThreadInfo with convertClientDBThreadInfoToRawThreadInfo so clientDBThreadInfos are translated to MinimallyEncodedRawThreadInfos when "rehydrated" from SQLite.

Test Plan:

  1. Log in with redux version 60
  2. Run migration
  3. Ensure that MinimallyEncodedRawThreadInfos are stringified and stored in SQLite
  4. Ensure that MinimallyEncodedRawThreadInfos are read back and "rehydrate" Redux threadStore
  5. Check Redux DevTools and ensure all entries in threadInfos are minimallyEncoded:

9af274.png (1×1 px, 193 KB)

Also verified state check mechanism:

0d15e4.png (106×470 px, 14 KB)

Reviewers: ashoat, ginsu, tomek, rohan

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D10342

Details

Provenance
atulAuthored on Dec 14 2023, 9:57 PM
Reviewer
ashoat
Differential Revision
D10342: [native] Update `translateClientDBData` so consuume `convertClientDBThreadInfoToRawThreadInfo`
Parents
rCOMM078aae02cb1e: [terraform] bump identity service to 0.6
Branches
Unknown
Tags
Unknown