Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Dependency Injection using Hilt #876

Closed
wants to merge 4 commits into from
Closed

Dependency Injection using Hilt #876

wants to merge 4 commits into from

Conversation

Fabian-K
Copy link
Member

Description

This PR starts to introduce dependency injection using hilt. So far it only covers backend connectivity. It also inlines the WebRequestBuilder into the matching Service classes.

- enable application & activities for hilt
…ce, DistributionService & VerificationService)

- resolve cyclic dependency in SubmissionService
- inline WebRequestBuilder into *Service classes
@pwoessner pwoessner added the maintainers Tag pull requests created by maintainers label Jul 16, 2020
pwoessner and others added 2 commits July 16, 2020 09:57
# Conflicts:
#	Corona-Warn-App/build.gradle
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/service/submission/SubmissionService.kt
#	Corona-Warn-App/src/test/java/de/rki/coronawarnapp/transaction/SubmitDiagnosisKeysTransactionTest.kt
@sonarcloud
Copy link

sonarcloud bot commented Jul 27, 2020

SonarCloud Quality Gate failed.

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

38.4% 38.4% Coverage
0.0% 0.0% Duplication

@pwoessner pwoessner added the on hold Issues blocked because decisions are pending label Jul 30, 2020
@d4rken
Copy link
Member

d4rken commented Aug 26, 2020

A PR based on this one that adds DI via Dagger was merged with #1069

@d4rken d4rken closed this Aug 26, 2020
@d4rken
Copy link
Member

d4rken commented Aug 26, 2020

I understand that this PR also contains changes that add DI to various components but we need to make more granular PRs for each component to add DI.

@d4rken d4rken deleted the hilt branch August 26, 2020 11:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
maintainers Tag pull requests created by maintainers on hold Issues blocked because decisions are pending
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants