Page MenuHomePhabricator

[keyserver] Narrow `updateRelationshipInputValidator` to exclude `farcaster` action
ClosedPublic

Authored by atul on Apr 9 2024, 9:53 PM.
Tags
None
Referenced Files
F1779892: D11610.diff
Sat, May 18, 1:52 AM
Unknown Object (File)
Tue, May 7, 4:47 PM
Unknown Object (File)
Wed, May 1, 2:22 PM
Unknown Object (File)
Fri, Apr 26, 7:17 PM
Unknown Object (File)
Fri, Apr 26, 1:40 PM
Unknown Object (File)
Sun, Apr 21, 4:28 PM
Unknown Object (File)
Thu, Apr 18, 1:30 PM
Unknown Object (File)
Apr 17 2024, 2:20 PM
Subscribers

Details

Summary

Modify updateRelationshipInputValidator so action is an enum of traditionalRelationshipActionsList vs relationshipActionsList.


Depends on D11609

Test Plan

Tried making request with farcaster action and it failed as expected.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Apr 9 2024, 9:55 PM
Harbormaster failed remote builds in B28112: Diff 38968!
atul requested review of this revision.Apr 10 2024, 8:09 AM
tomek added inline comments.
keyserver/src/responders/relationship-responders.js
17–20 ↗(On Diff #39007)

Does that mean it's not possible to update Farcaster relationship?

This revision is now accepted and ready to land.Apr 11 2024, 2:24 AM
keyserver/src/responders/relationship-responders.js
17–20 ↗(On Diff #39007)

It will be via FarcasterRelationshipRequest, just not with TraditionalRelationshipRequest.

This revision was landed with ongoing or failed builds.Thu, Apr 18, 1:26 PM
This revision was automatically updated to reflect the committed changes.