Page MenuHomePhabricator

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

Authored by atul on Apr 9 2024, 9:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 8:55 PM
Unknown Object (File)
Sat, Nov 30, 6:59 PM
Unknown Object (File)
Nov 28 2024, 1:57 AM
Unknown Object (File)
Nov 27 2024, 10:42 PM
Unknown Object (File)
Nov 3 2024, 9:57 AM
Unknown Object (File)
Oct 13 2024, 12:25 AM
Unknown Object (File)
Oct 13 2024, 12:24 AM
Unknown Object (File)
Oct 13 2024, 12:24 AM
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
No Lint Coverage
Unit
No Test Coverage

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.Apr 18 2024, 1:26 PM
This revision was automatically updated to reflect the committed changes.