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)
Mon, Jun 24, 11:10 AM
Unknown Object (File)
Mon, Jun 24, 3:23 AM
Unknown Object (File)
Thu, Jun 20, 1:09 PM
Unknown Object (File)
Mon, Jun 17, 5:22 AM
Unknown Object (File)
Tue, Jun 11, 11:52 PM
Unknown Object (File)
Tue, Jun 11, 10:58 PM
Unknown Object (File)
Sat, Jun 1, 9:41 PM
Unknown Object (File)
May 26 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.