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)
Fri, Nov 15, 4:11 AM
Unknown Object (File)
Wed, Nov 13, 8:08 PM
Unknown Object (File)
Fri, Nov 1, 2:26 PM
Unknown Object (File)
Sun, Oct 20, 2:40 PM
Unknown Object (File)
Oct 12 2024, 1:26 PM
Unknown Object (File)
Oct 12 2024, 1:26 PM
Unknown Object (File)
Oct 12 2024, 1:26 PM
Unknown Object (File)
Oct 12 2024, 1:26 PM
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
No Lint Coverage
Unit
No Test Coverage