Use the validators and the validateOutput function introduced in the previous diff in the api responders. The id schema conversion is behind the flag for now, but the outputs are still validated.
Depends on D7711
Paths
| Differential D7712 Authored by michal on May 4 2023, 7:51 AM.
Tags None Referenced Files
Details
Summary Use the validators and the validateOutput function introduced in the previous diff in the api responders. The id schema conversion is behind the flag for now, but the outputs are still validated. Depends on D7711 Test Plan Test web and ios emulator if all outputs are validated correctly and no server error is thrown.
Diff Detail
Event TimelineHerald added subscribers: atul, ashoat. · View Herald TranscriptMay 4 2023, 7:51 AM2023-05-04 07:51:05 (UTC-7) michal retitled this revision from [keyserver] Convert responders output to [keyserver] Start validating responders output.May 4 2023, 7:53 AM2023-05-04 07:53:02 (UTC-7) michal added a child revision: D7713: [keyserver] Mark ids in input validators.May 4 2023, 7:55 AM2023-05-04 07:55:30 (UTC-7)
Harbormaster completed remote builds in B19038: Diff 26070.May 4 2023, 8:08 AM2023-05-04 08:08:44 (UTC-7) This revision is now accepted and ready to land.May 5 2023, 12:36 AM2023-05-05 00:36:01 (UTC-7) Closed by commit rCOMM29cd9a0322a7: [keyserver] Start validating responders output (authored by Michal Gniadek <michal.gniadek@swmansion.com>). · Explain WhyMay 15 2023, 5:00 AM2023-05-15 05:00:09 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 26451 keyserver/src/responders/activity-responders.js
keyserver/src/responders/entry-responders.js
keyserver/src/responders/keys-responders.js
keyserver/src/responders/message-report-responder.js
|