fx
fx copied to clipboard
adds fx.From annotation
Adds fx.From annotation to allow injecting struct ptr types for interface dependencies which they implement. This should address issue https://github.com/uber-go/fx/issues/878
Codecov Report
Merging #938 (3c178f4) into master (f8aaaeb) will increase coverage by
0.01%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #938 +/- ##
==========================================
+ Coverage 98.72% 98.74% +0.01%
==========================================
Files 30 30
Lines 1337 1357 +20
==========================================
+ Hits 1320 1340 +20
Misses 11 11
Partials 6 6
Impacted Files | Coverage Δ | |
---|---|---|
annotated.go | 99.71% <100.00%> (+0.01%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
ping @rossb83 😊 LGTM
This has been completed with #990.