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)
Mon, Dec 30, 8:27 AM
Unknown Object (File)
Thu, Dec 26, 7:13 PM
Unknown Object (File)
Wed, Dec 25, 11:02 PM
Unknown Object (File)
Sun, Dec 15, 11:35 PM
Unknown Object (File)
Sun, Dec 15, 11:35 PM
Unknown Object (File)
Sun, Dec 15, 11:34 PM
Unknown Object (File)
Sun, Dec 15, 11:28 PM
Unknown Object (File)
Nov 26 2024, 2:50 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