Page MenuHomePhabricator

[native_rust_library][CommCoreModule] add User Keys params to restore user RPC
ClosedPublic

Authored by kamil on Jan 29 2025, 7:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 28, 10:09 AM
Unknown Object (File)
Fri, Feb 28, 10:09 AM
Unknown Object (File)
Fri, Feb 28, 10:09 AM
Unknown Object (File)
Sun, Feb 23, 12:07 AM
Unknown Object (File)
Sat, Feb 22, 1:48 PM
Unknown Object (File)
Tue, Feb 18, 5:44 PM
Unknown Object (File)
Mon, Feb 17, 4:13 PM
Unknown Object (File)
Fri, Feb 14, 10:35 PM
Subscribers

Details

Summary

Part of ENG-10112 and ENG-10113

We need to add the params needed to User Keys creation.

Not sure if we can somehow reduce the number of parameters here, but it started to reduce readability.

Depends on D14271

Test Plan

Build app

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Jan 29 2025, 7:41 AM
kamil edited the summary of this revision. (Show Details)

Not sure if we can somehow reduce the number of parameters here, but it started to reduce readability.

That's definitely a good idea, especially because we have a lot of parameters with the same type, so the chance of a mistake is quite high. According to https://cxx.rs/shared.html we should be able to use structs for this purpose.

This revision is now accepted and ready to land.Jan 29 2025, 10:59 AM

Not sure if we can somehow reduce the number of parameters here, but it started to reduce readability.

That's definitely a good idea, especially because we have a lot of parameters with the same type, so the chance of a mistake is quite high. According to https://cxx.rs/shared.html we should be able to use structs for this purpose.

ENG-10146