Page MenuHomePhabricator

[native/rust_library] Refactor Tonic client utility function names for Identity service
ClosedPublic

Authored by max on Dec 21 2022, 4:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 5:20 AM
Unknown Object (File)
Mon, Nov 11, 2:27 PM
Unknown Object (File)
Fri, Nov 8, 3:58 AM
Unknown Object (File)
Mon, Nov 4, 3:15 AM
Unknown Object (File)
Mon, Nov 4, 3:15 AM
Unknown Object (File)
Tue, Oct 29, 2:43 PM
Unknown Object (File)
Sat, Oct 26, 12:41 AM
Unknown Object (File)
Sep 28 2024, 3:09 PM
Subscribers

Details

Summary

This diff introduces refactoring the Tonic client utility function names for the Identity service in a Rust native library.
As we are using a single Rust library for the native which will contain clients and helper functions for all services we should refactor the Identity service-related function names to be more specific.
This refactoring adds an identity prefix to the function names.

Linear task: ENG-1333

Test Plan

Rust library and native app are successfully built.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

max held this revision as a draft.
max retitled this revision from [native/rust_library] Refactor Tonic client function names for Identity service to [native/rust_library] Refactor Tonic client utility function names for Identity service.Dec 21 2022, 5:10 AM
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added reviewers: varun, jon.
max added inline comments.
native/native_rust_library/src/lib.rs
16–19 ↗(On Diff #19935)

To not rename these functions it's better to call them directly with the parent name like: identity_client::get_user_id, this will add more clearance.

max published this revision for review.Dec 21 2022, 6:04 AM
varun added inline comments.
native/native_rust_library/src/lib.rs
16–19 ↗(On Diff #19935)

makes sense

This revision is now accepted and ready to land.Dec 21 2022, 2:03 PM

Fixing merging, rebasing on master.