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
F3396327: D11403.id38381.diff
Sun, Dec 1, 11:48 AM
Unknown Object (File)
Fri, Nov 29, 5:39 AM
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
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