-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Dagger refactor #134
Conversation
Signed-off-by: Alfredo Gutierrez <[email protected]>
…ad injected at the constructor by DaggerComponent, instead of initializing them on the startup sequence. Also, adding a BlockNodeApp Test now that everything is being injected. Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
…working, some tests are failing, but saving this checkpoint before further large scale refactor. Signed-off-by: Alfredo Gutierrez <[email protected]>
…d be able to get rid of it soon. Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
…ure PR, is to get Rid of the BlockNodeContext completely. Now that we have Dagger dependencies are cheap, and is better to inject the minimum amount of them, only when in need. Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
…tion instead of providing one itself. Signed-off-by: Alfredo Gutierrez <[email protected]>
…rsistence.storage Added export metricsService to the module-info Refactored Dagger Component to receive a Configuration from outside. Added UT for MediatorInjectionModule Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
… definition from ConfigExtensions Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
…he implementation, to be able to use Bind instead of Provide, deleted unneeded UT. Removed @nonnull annotation from injection module, since is redundant. Signed-off-by: Alfredo Gutierrez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Signed-off-by: Alfredo Gutierrez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #134 +/- ##
=============================================
+ Coverage 93.90% 100.00% +6.09%
- Complexity 122 132 +10
=============================================
Files 23 26 +3
Lines 525 510 -15
Branches 27 27
=============================================
+ Hits 493 510 +17
+ Misses 32 0 -32
|
Description:
This PR is part 2 of #118,
Related issue(s):
Fixes #110
Notes for reviewer:
Checklist