Add deleteUser logic to identity service.
Depends on D6787
Paths
| Differential D6788 Authored by • jon on Feb 20 2023, 1:34 PM.
Details Summary Add deleteUser logic to identity service. Depends on D6787 Test Plan cargo build Gets end-to-end tested in a later diff
Diff Detail
Event TimelineHerald added subscribers: atul, tomek, ashoat. · View Herald TranscriptFeb 20 2023, 1:34 PM2023-02-20 13:34:40 (UTC-8) Harbormaster completed remote builds in B16640: Diff 22751.Feb 20 2023, 1:49 PM2023-02-20 13:49:29 (UTC-8) Harbormaster completed remote builds in B16645: Diff 22756.Feb 20 2023, 2:14 PM2023-02-20 14:14:31 (UTC-8)
Comment Actions nice! i noticed we never send back the failure enum variant. did you look into best practices for gRPC API design? This revision is now accepted and ready to land.Feb 21 2023, 9:56 AM2023-02-21 09:56:01 (UTC-8) Comment Actions Since the generated bindings require me to send Result<tonic::Response<DeleteUserResponse>, tonic::Status>, I can only send a status. I will just remove the inner result and let the grpc status dictate success. Harbormaster completed remote builds in B16729: Diff 22884.Feb 21 2023, 11:22 AM2023-02-21 11:22:22 (UTC-8) Harbormaster failed remote builds in B16737: Diff 22894!Feb 21 2023, 1:42 PM2023-02-21 13:42:31 (UTC-8) Harbormaster completed remote builds in B16737: Diff 22894.Feb 22 2023, 4:22 PM2023-02-22 16:22:15 (UTC-8) Closed by commit rCOMMde8151a7c3c0: [Identity] Add deleteUser RPC to proto files (authored by • jon). · Explain WhyFeb 22 2023, 4:25 PM2023-02-22 16:25:25 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 22953 services/identity/src/database.rs
services/identity/src/service.rs
shared/protos/identity.proto
|