dotnet-sdk
dotnet-sdk copied to clipboard
refactor(hosting): Initial work to simplify hook integration
This PR
Simplify the integration of Hooks in the Dependency Injection and Hosting package. Hooks at the moment are only applied at an API level, we may want to explore the option to set hooks at a client level. The goal is simplify the code and make hook registration simpler.
Related Issues
Notes
Follow-up Tasks
How to test
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 93.05%. Comparing base (5972aff) to head (2e57b21).
Additional details and impacted files
@@ Coverage Diff @@
## main #609 +/- ##
==========================================
- Coverage 93.21% 93.05% -0.17%
==========================================
Files 69 69
Lines 2993 2979 -14
Branches 359 358 -1
==========================================
- Hits 2790 2772 -18
- Misses 143 145 +2
- Partials 60 62 +2
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.