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)
Mon, Sep 23, 12:13 AM
Unknown Object (File)
Sat, Sep 21, 8:07 PM
Unknown Object (File)
Sat, Sep 21, 4:26 PM
Unknown Object (File)
Thu, Aug 29, 6:19 PM
Unknown Object (File)
Aug 17 2024, 8:06 AM
Unknown Object (File)
Aug 10 2024, 11:59 AM
Unknown Object (File)
Aug 10 2024, 7:01 AM
Unknown Object (File)
Aug 10 2024, 7:00 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