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)
Wed, Nov 13, 1:19 AM
Unknown Object (File)
Tue, Nov 12, 11:38 PM
Unknown Object (File)
Tue, Nov 12, 10:37 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

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
No Lint Coverage
Unit
No Test Coverage

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

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

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