Page MenuHomePhabricator

[native_rust_library] get_farcaster_users client method
ClosedPublic

Authored by varun on Mar 27 2024, 12:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 14, 4:53 PM
Unknown Object (File)
Sun, Apr 14, 4:53 PM
Unknown Object (File)
Sun, Apr 14, 4:52 PM
Unknown Object (File)
Sun, Apr 14, 4:52 PM
Unknown Object (File)
Tue, Apr 2, 12:39 PM
Unknown Object (File)
Mon, Apr 1, 4:40 PM
Unknown Object (File)
Sun, Mar 31, 7:41 PM
Subscribers

Details

Summary

native rust client method to call the GetFarcasterUsers RPC. this will be called to get the Comm user info for a user's Farcaster follows

Depends on D11402

Test Plan

later in the stack I add a method to the native IdentityServiceContextProvider which calls this method. This method successfully returns a list of FarcasterUsers.

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:05 PM
bartek added inline comments.
native/native_rust_library/src/farcaster.rs
55–59 ↗(On Diff #38381)

Possibly we can impl From<gprc_clients::identity::protos::unauth::FarcasterUser> for FarcasterUser but not worth for a single usecase

This revision is now accepted and ready to land.Mar 27 2024, 11:01 PM
native/native_rust_library/src/farcaster.rs
55–59 ↗(On Diff #38381)

Yeah I think not worth it rn. Maybe if we find other use cases later