Page MenuHomePhabricator

[lib/web/native] Improve conversion utils
ClosedPublic

Authored by michal on Sep 12 2023, 5:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 21, 2:55 PM
Unknown Object (File)
Tue, May 21, 2:55 PM
Unknown Object (File)
Tue, May 21, 2:47 PM
Unknown Object (File)
Mon, May 20, 3:11 PM
Unknown Object (File)
Tue, May 7, 8:31 AM
Unknown Object (File)
Apr 5 2024, 11:24 AM
Unknown Object (File)
Apr 5 2024, 11:24 AM
Unknown Object (File)
Apr 5 2024, 11:24 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
Lint Not Applicable
Unit
Tests Not Applicable