Page MenuHomePhabricator

[comm-lib] Implement FromRequest for AuthService
ClosedPublic

Authored by bartek on Jun 20 2024, 2:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 6, 12:12 AM
Unknown Object (File)
Thu, Mar 20, 1:43 AM
Unknown Object (File)
Fri, Mar 14, 5:33 AM
Unknown Object (File)
Mar 3 2025, 2:31 PM
Unknown Object (File)
Feb 28 2025, 12:09 AM
Unknown Object (File)
Feb 28 2025, 12:09 AM
Unknown Object (File)
Feb 28 2025, 12:08 AM
Unknown Object (File)
Feb 26 2025, 9:27 AM
Subscribers

Details

Summary

Extracted code that retrieves AuthService into a dedicated trait implementation.
Inspired by the web::Data counterpart.

Depends on D12504

Test Plan

Local backup and reports services. Commenting out .app_data(auth_service) from http/mod causes
the error message to be printed.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable