Page MenuHomePhabricator

[keyserver] return threadInfo in fetchAllCommunityInfosWithNames
Changes PlannedPublic

Authored by varun on Thu, Oct 31, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 1:03 AM
Unknown Object (File)
Fri, Nov 1, 1:03 AM
Unknown Object (File)
Fri, Nov 1, 1:01 AM
Subscribers

Details

Reviewers
ashoat
Summary

Depends on D13853

we return threadInfos here so that we can populate the community directory on clients using the ThreadList component

Test Plan

tested in next diff by calling fetchAllCommunityInfosWithNames and getting a working modal with the ThreadList correctly populated

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

varun published this revision for review.Thu, Oct 31, 11:11 PM
varun planned changes to this revision.
ashoat requested changes to this revision.Fri, Nov 1, 8:37 AM
ashoat added inline comments.
lib/types/community-types.js
50

Should this be narrowed? It doesn't appear possible for the server to return undefined

58

I might be missing something, but this validator appears to only be used on the client. Why are you using mixedRawThreadInfoValidator?