Page MenuHomePhabricator

[lib] Use tUserID in entry-validators.js pt.1
ClosedPublic

Authored by inka on May 9 2024, 4:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 4, 4:28 PM
Unknown Object (File)
Wed, Sep 4, 5:49 AM
Unknown Object (File)
Wed, Sep 4, 3:26 AM
Unknown Object (File)
Wed, Sep 4, 1:15 AM
Unknown Object (File)
Wed, Sep 4, 12:50 AM
Unknown Object (File)
Thu, Aug 29, 5:36 PM
Unknown Object (File)
Aug 13 2024, 10:20 AM
Unknown Object (File)
Aug 13 2024, 10:19 AM
Subscribers

Details

Summary

issue: ENG-7819

The approach I took is to go through all validators files in lib/types/validators and for each file, for each validator, recursively update all validators it uses

Test Plan

flow
Tested that fetch_entries endpoint which uses fetchEntryInfosResponseValidator works correctly and doesn't throw errors

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka requested review of this revision.May 9 2024, 4:19 AM

It might be a good idea to have a sanity check in a test plan to verify if the responses are validated correctly (if sending and receiving responses from keyserver work, for a couple of endpoints).

This revision is now accepted and ready to land.May 9 2024, 7:59 AM

It might be a good idea to have a sanity check in a test plan to verify if the responses are validated correctly (if sending and receiving responses from keyserver work, for a couple of endpoints).

Amended the test plan, going to check some other responders and amend test plans in proper diffs