Page MenuHomePhabricator

[lib] make report id mandatory
ClosedPublic

Authored by kamil on May 22 2023, 7:10 AM.
Tags
None
Referenced Files
F1567384: D7916.diff
Wed, Apr 17, 11:40 PM
Unknown Object (File)
Mon, Apr 15, 8:43 PM
Unknown Object (File)
Mon, Apr 15, 5:48 PM
Unknown Object (File)
Mon, Apr 15, 12:57 AM
Unknown Object (File)
Sun, Apr 14, 8:00 AM
Unknown Object (File)
Sat, Apr 13, 8:02 AM
Unknown Object (File)
Sat, Apr 13, 1:14 AM
Unknown Object (File)
Fri, Apr 12, 7:53 AM
Subscribers

Details

Summary

At this point id is added to existing reports, added on each creation and extracted before sending request to keyserver, so it's safe to make it mandatory as this will be needed to move reports to database.

Depends on D7913

Test Plan

N/A

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.May 23 2023, 1:41 AM
This revision is now accepted and ready to land.May 23 2023, 3:16 AM
This revision was automatically updated to reflect the committed changes.
  1. We didn't update the validators to match this
  2. The types should've been optional for the "server" versions, since the keyserver still has to support older clients

The new version of Flow is catching these type errors and forcing me to address them.