Extracted code that retrieves AuthService into a dedicated trait implementation.
Inspired by the web::Data counterpart.
Depends on D12504
Paths
| Differential D12506 Authored by bartek on Jun 20 2024, 2:22 AM.
Details Summary Extracted code that retrieves AuthService into a dedicated trait implementation. Depends on D12504 Test Plan Local backup and reports services. Commenting out .app_data(auth_service) from http/mod causes
Diff Detail
Event Timelinebartek held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptJun 20 2024, 2:22 AM2024-06-20 02:22:32 (UTC-7) Harbormaster completed remote builds in B29811: Diff 41544.Jun 20 2024, 2:38 AM2024-06-20 02:38:33 (UTC-7) This revision is now accepted and ready to land.Jun 20 2024, 8:09 PM2024-06-20 20:09:28 (UTC-7) Closed by commit rCOMM8a4928e1ee25: [comm-lib] Implement FromRequest for AuthService (authored by bartek). · Explain WhyJun 26 2024, 1:51 AM2024-06-26 01:51:34 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 41703 services/backup/src/http/handlers/backup.rs
services/reports/src/http/service.rs
shared/comm-lib/src/http/auth.rs
|