Page MenuHomePhabricator

[identity] link farcaster account implementation
ClosedPublic

Authored by varun on Mar 27 2024, 12:55 PM.
Tags
None
Referenced Files
F3384173: D11406.diff
Thu, Nov 28, 7:47 PM
Unknown Object (File)
Wed, Nov 13, 1:19 AM
Unknown Object (File)
Tue, Nov 12, 11:38 PM
Unknown Object (File)
Oct 22 2024, 2:47 PM
Unknown Object (File)
Oct 22 2024, 2:47 PM
Unknown Object (File)
Oct 22 2024, 2:44 PM
Unknown Object (File)
Oct 11 2024, 11:00 AM
Unknown Object (File)
Sep 18 2024, 8:19 AM
Subscribers

Details

Summary

use ddb update-item to add a farcaster ID to a user item. later in the stack, we add a conditon to avoid overwriting an existing farcasterID

Depends on D11405

Test Plan

RPC is called from native and web later in the stack

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.Mar 27 2024, 1:23 PM
bartek added inline comments.
services/identity/src/database/farcaster.rs
78 ↗(On Diff #38384)

Might be a bit cleaner to use builder pattern here instead of Somes and HashMaps

This revision is now accepted and ready to land.Mar 27 2024, 11:05 PM
services/identity/src/database/farcaster.rs
78 ↗(On Diff #38384)

agreed, cleaned it up