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)
Mon, Sep 9, 9:13 PM
Unknown Object (File)
Mon, Sep 9, 9:13 PM
Unknown Object (File)
Mon, Sep 9, 9:13 PM
Unknown Object (File)
Mon, Sep 9, 9:13 PM
Unknown Object (File)
Aug 9 2024, 2:11 AM
Unknown Object (File)
Aug 8 2024, 2:56 AM
Unknown Object (File)
Aug 5 2024, 10:49 AM
Unknown Object (File)
Aug 5 2024, 5:53 AM
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