Page MenuHomePhabricator

[lib] Introduce `MinimallyEncodedThreadInfo` type
ClosedPublic

Authored by atul on Nov 13 2023, 1:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 15, 9:07 PM
Unknown Object (File)
Oct 15 2024, 1:19 AM
Unknown Object (File)
Oct 15 2024, 1:19 AM
Unknown Object (File)
Oct 15 2024, 1:19 AM
Unknown Object (File)
Oct 15 2024, 1:14 AM
Unknown Object (File)
Sep 14 2024, 5:09 PM
Unknown Object (File)
Sep 7 2024, 9:58 AM
Unknown Object (File)
Sep 7 2024, 9:58 AM
Subscribers
None

Details

Summary

We need corresponding MinimallyEncodedThreadInfo for MinimallyEncodedRawThreadInfo. The only really relevant difference between the two is that MinimallyEncodedThreadInfo has $ReadOnlyArray<MinimallyEncodedRelativeMemberInfo> in members field instead of $ReadOnlyArray<MinimallyEncodedMemberInfo>.


Depends on D9845

Test Plan

Flow. Earlier in the stack I was writing unit tests for all of these, but I think the value of unit tests for these is questionable. Will defer for now and consider writing at the end.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Nov 13 2023, 1:26 PM

This should be the second-to-last MinimallyEncoded* type that we introduce. We'll need a MinimallyEncodedResolvedThreadInfo for clients, but that'll be later in the stack.

This revision is now accepted and ready to land.Nov 13 2023, 2:04 PM