Page MenuHomePhabricator

Fix input types from D13050
ClosedPublic

Authored by marcin on Mon, Sep 9, 6:23 AM.
Tags
None
Referenced Files
F2730268: D13271.id44011.diff
Tue, Sep 17, 7:28 AM
F2728588: D13271.id44040.diff
Tue, Sep 17, 5:09 AM
F2728267: D13271.id44013.diff
Tue, Sep 17, 4:38 AM
F2727616: D13271.id43988.diff
Tue, Sep 17, 4:04 AM
F2726536: D13271.id43991.diff
Tue, Sep 17, 2:11 AM
F2725029: D13271.id43989.diff
Mon, Sep 16, 11:53 PM
F2722953: D13271.id44037.diff
Mon, Sep 16, 7:21 PM
Unknown Object (File)
Mon, Sep 16, 6:57 AM
Subscribers

Details

Summary

This differential fixes types according to Ashoat suggestion: https://phab.comm.dev/D13050#inline-76348

Test Plan

flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Mon, Sep 9, 6:40 AM
Harbormaster failed remote builds in B31495: Diff 43988!

Fix flow in the keyserver

marcin requested review of this revision.Mon, Sep 9, 7:22 AM

Thanks for doing this! Please apply the inline changes before landing, or otherwise re-request review if it introduces Flow errors

lib/push/send-utils.js
97 ↗(On Diff #43990)
307 ↗(On Diff #43990)
353 ↗(On Diff #43990)
This revision is now accepted and ready to land.Mon, Sep 9, 1:42 PM

I applied changes from latest @ashoat suggestion but it forced me to change mergeUserToCollapsableInfo to perform deeper copy that initial single spread. Therefore re-requesting review.

Thanks! I considered keeping the inputs to mergeUserToCollapsableInfo mutable, but I wasn't able to quickly confirm that it was safe... so I think this is the best bet

This revision is now accepted and ready to land.Tue, Sep 10, 12:31 PM
This revision was landed with ongoing or failed builds.Wed, Sep 11, 5:17 AM
This revision was automatically updated to reflect the committed changes.