exactlyTwoDictEntriesValidator is only relevant for UpdateRelationshipMessages, not for the request. Multiple farcaster mutuals can be included in single FarcasterRelationshipRequest.
Depends on D11612
Paths
| Differential D11624 Authored by atul on Apr 10 2024, 12:47 PM.
Details Summary exactlyTwoDictEntriesValidator is only relevant for UpdateRelationshipMessages, not for the request. Multiple farcaster mutuals can be included in single FarcasterRelationshipRequest. Depends on D11612 Test Plan Able to include multiple users in single request farcaster request (hard-coded dummy FIDs in request)
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptApr 10 2024, 12:47 PM2024-04-10 12:47:59 (UTC-7) Harbormaster completed remote builds in B28147: Diff 39015.Apr 10 2024, 1:25 PM2024-04-10 13:25:40 (UTC-7) This revision is now accepted and ready to land.Apr 11 2024, 8:27 AM2024-04-11 08:27:14 (UTC-7) Comment Actions
Yeah, we introduced rawUpdateFarcasterRelationshipMessageInfoValidator to handle this (has been landed). We didn't end up needing exactlyTwoDictEntriesValidator because modified type to include creatorFID and targetFID instead. This revision was landed with ongoing or failed builds.Apr 18 2024, 1:26 PM2024-04-18 13:26:29 (UTC-7) Closed by commit rCOMM003bf69d1b44: [lib] Fix `farcasterRelationshipRequestValidator` (authored by atul). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B28312: Diff 39253.Apr 18 2024, 2:12 PM2024-04-18 14:12:27 (UTC-7)
Revision Contents
Diff 39259 lib/types/relationship-types.js
lib/types/relationship-types.test.js
|