Page MenuHomePhabricator

[lib/web/native] Improve conversion utils
ClosedPublic

Authored by michal on Sep 12 2023, 5:20 AM.
Tags
None
Referenced Files
F3370474: D9147.id30965.diff
Tue, Nov 26, 2:50 AM
Unknown Object (File)
Fri, Nov 22, 12:25 PM
Unknown Object (File)
Fri, Nov 8, 11:11 AM
Unknown Object (File)
Fri, Nov 8, 12:51 AM
Unknown Object (File)
Fri, Nov 8, 12:51 AM
Unknown Object (File)
Fri, Nov 8, 12:50 AM
Unknown Object (File)
Thu, Nov 7, 8:05 PM
Unknown Object (File)
Mon, Oct 28, 10:52 AM
Subscribers

Details

Summary

Improve the conversion utils situation for the future diffs:

  1. Rename convertNotificationThreadIDToNewIDSchema to convertNonPendingIDToNewSchema and add idPrefix param instead of always using ashoats id
  2. Add convertIDToNewSchema and use it inside convertDraftKeyToNewIDSchema
Test Plan

yarn flow-all to test (1)
yarn jest-all to test (2) -> draft migration tests

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage