Page MenuHomePhabricator

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

Authored by atul on Tue, Apr 9, 9:53 PM.
Tags
None
Referenced Files
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)
Wed, Apr 17, 2:20 PM
Unknown Object (File)
Wed, Apr 17, 10:44 AM
Unknown Object (File)
Mon, Apr 15, 7:34 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.Tue, Apr 9, 9:55 PM
Harbormaster failed remote builds in B28112: Diff 38968!
atul requested review of this revision.Wed, Apr 10, 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.Thu, Apr 11, 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.