Page MenuHomePhabricator

[lib] make report id mandatory
ClosedPublic

Authored by kamil on May 22 2023, 7:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 10:43 AM
Unknown Object (File)
Sun, Oct 27, 8:45 PM
Unknown Object (File)
Oct 4 2024, 10:08 AM
Unknown Object (File)
Sep 29 2024, 3:22 AM
Unknown Object (File)
Sep 29 2024, 3:22 AM
Unknown Object (File)
Sep 29 2024, 3:22 AM
Unknown Object (File)
Sep 29 2024, 3:10 AM
Unknown Object (File)
Aug 28 2024, 7:24 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.