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, Mar 30, 9:42 AM
Unknown Object (File)
Sun, Mar 30, 4:46 AM
Unknown Object (File)
Sun, Mar 30, 12:34 AM
Unknown Object (File)
Sat, Mar 29, 2:18 AM
Unknown Object (File)
Feb 27 2025, 4:33 AM
Unknown Object (File)
Feb 18 2025, 7:38 PM
Unknown Object (File)
Feb 18 2025, 7:38 PM
Unknown Object (File)
Feb 18 2025, 7:38 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