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)
Sat, Apr 12, 6:59 AM
Unknown Object (File)
Wed, Apr 9, 12:36 AM
Unknown Object (File)
Mon, Mar 24, 4:23 AM
Unknown Object (File)
Mon, Mar 24, 4:23 AM
Unknown Object (File)
Fri, Mar 21, 1:06 AM
Unknown Object (File)
Fri, Mar 21, 1:06 AM
Unknown Object (File)
Wed, Mar 19, 7:25 PM
Unknown Object (File)
Tue, Mar 18, 7:26 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