Page MenuHomePhabricator

[lib] Split `UpdateRelationshipMessageInfo` into `Update[Traditional/Farcaster]RelationshipMessageInfo`
ClosedPublic

Authored by atul on Apr 12 2024, 11:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 7:44 AM
Unknown Object (File)
Sun, Nov 24, 7:42 AM
Unknown Object (File)
Sun, Nov 24, 4:44 AM
Unknown Object (File)
Thu, Nov 14, 11:28 AM
Unknown Object (File)
Sun, Nov 3, 9:48 AM
Unknown Object (File)
Oct 12 2024, 11:48 PM
Unknown Object (File)
Oct 12 2024, 11:47 PM
Unknown Object (File)
Oct 12 2024, 11:47 PM
Subscribers

Details

Summary

Similar to previous diffs in stack, splitting the type to support farcaster operation.

Made necessary changes to update-relationship-message-spec as well.


Depends on D11642

Test Plan

Flow for now, will be tested implicitly by subsequent diffs where these messages are actually created/persisted/etc.

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D11650 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Apr 12 2024, 12:03 PM
tomek added inline comments.
lib/shared/messages/update-relationship-message-spec.js
155 ↗(On Diff #39086)

Is there a const we can use here?

219 ↗(On Diff #39086)

We probably have to introduce a shim for this new operation type

This revision is now accepted and ready to land.Apr 15 2024, 1:24 AM
lib/shared/messages/update-relationship-message-spec.js
155 ↗(On Diff #39086)

There's not at the moment, have a diff locally where I replace this with a constant value.

Definitely agree that hardcoding this string is not ideal and error-prone.

lib/shared/messages/update-relationship-message-spec.js
219 ↗(On Diff #39086)

We send UNSUPPORTED message for farcaster_mutual operation:

158a3d.png (704×876 px, 112 KB)

This revision was landed with ongoing or failed builds.Apr 18 2024, 11:48 AM
This revision was automatically updated to reflect the committed changes.