Page MenuHomePhabricator

[lib] Add `flow` suppression to `deprecatedDecodeMinimallyEncodedRawThreadInfo`
AcceptedPublic

Authored by atul on Thu, Jun 27, 2:16 PM.
Tags
None
Referenced Files
F2163124: D12601.diff
Mon, Jul 1, 7:01 PM
Unknown Object (File)
Thu, Jun 27, 7:26 PM
Unknown Object (File)
Thu, Jun 27, 3:46 PM
Unknown Object (File)
Thu, Jun 27, 3:45 PM
Unknown Object (File)
Thu, Jun 27, 3:38 PM
Subscribers

Details

Reviewers
ashoat
Summary

Add flow suppression in deprecatedDecodeMinimallyEncodedRawThreadInfo before call to decodeMinimallyEncodedMemberInfo.

This code path will only be encountered during legacy migrations where member permissions ARE persisted so flow "issues" aren't relevant going forward because deprecatedDecodeMinimallyEncodedRawThreadInfo should never be called anywhere new.

This gets us down to 2 flow issues, both with minimallyEncodeRawThreadInfo.


Depends on D12599

Test Plan

Close reading, there are no logic changes... just flow suppressions to account for differing representation of RawThreadInfo.members

Diff Detail

Repository
rCOMM Comm
Branch
july26 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Thu, Jun 27, 2:16 PM

I think it's better to have type suppressions than to have to maintain the old set of types indefinitely. This makes sense to me

This revision is now accepted and ready to land.Mon, Jul 1, 1:09 PM