Page MenuHomePhabricator

[lib] Add runtime checks to `minimallyEncode*` utils to make sure argument isn't already minimally encoded
ClosedPublic

Authored by atul on Dec 15 2023, 8:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 6 2024, 1:05 PM
Unknown Object (File)
Oct 25 2024, 5:45 PM
Unknown Object (File)
Oct 15 2024, 8:50 PM
Unknown Object (File)
Oct 15 2024, 8:50 PM
Unknown Object (File)
Oct 15 2024, 8:50 PM
Unknown Object (File)
Oct 15 2024, 8:50 PM
Unknown Object (File)
Sep 9 2024, 9:13 PM
Unknown Object (File)
Sep 9 2024, 9:13 PM
Subscribers
None

Details

Summary

Similar to what we did in D10325 to minimallyEncodeThreadCurrentUserInfo, but for the rest of the minimallyEncode* utilities in minimally-encoded-thread-permissions-types.

These are more of a precaution than anything else.

Test Plan

Unit tests continue to pass.
Able to use app, go through Redux migration, etc without issue.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable