Page MenuHomePhabricator

[lib] make report id mandatory
ClosedPublic

Authored by kamil on May 22 2023, 7:10 AM.
Tags
None
Referenced Files
F3515141: D7916.id27124.diff
Sun, Dec 22, 7:40 AM
F3515110: D7916.id27129.diff
Sun, Dec 22, 7:30 AM
F3513927: D7916.diff
Sun, Dec 22, 2:33 AM
Unknown Object (File)
Sun, Dec 15, 11:58 PM
Unknown Object (File)
Sun, Dec 15, 11:58 PM
Unknown Object (File)
Sun, Dec 15, 11:58 PM
Unknown Object (File)
Sun, Dec 15, 11:57 PM
Unknown Object (File)
Sun, Dec 15, 11:49 PM
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.