Skip to content
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

refactor(container): remove ifilter dependency. #183

Merged
merged 11 commits into from
Aug 31, 2021
Merged

Conversation

Reasno
Copy link
Member

@Reasno Reasno commented Aug 26, 2021

BREAKING CHANGE: container interface has been changed. The di.Module interface has been replaced by di.Modular.

@codecov
Copy link

codecov bot commented Aug 26, 2021

Codecov Report

Merging #183 (b331465) into master (4cccba0) will decrease coverage by 0.58%.
The diff coverage is 83.07%.

❗ Current head b331465 differs from pull request most recent head 5c04c8f. Consider uploading reports for the commit 5c04c8f to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master     #183      +/-   ##
==========================================
- Coverage   80.50%   79.92%   -0.59%     
==========================================
  Files          91       81      -10     
  Lines        3273     2989     -284     
==========================================
- Hits         2635     2389     -246     
+ Misses        463      439      -24     
+ Partials      175      161      -14     
Impacted Files Coverage Δ
default_config.go 78.94% <ø> (ø)
leader/dependency.go 83.72% <ø> (ø)
otes/dependency.go 80.32% <ø> (ø)
otetcd/dependency.go 97.22% <ø> (ø)
otgorm/dependency.go 91.89% <ø> (ø)
otkafka/dependency.go 86.36% <ø> (ø)
otmongo/dependency.go 85.71% <ø> (ø)
otredis/dependency.go 84.41% <ø> (ø)
ots3/dependency.go 67.39% <ø> (ø)
logging/log.go 40.50% <28.57%> (+1.06%) ⬆️
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4cccba0...5c04c8f. Read the comment docs.

@Reasno Reasno added this to the v0.9.0 milestone Aug 26, 2021
@Reasno Reasno changed the title Refactor/container refactor(container): remove ifilter dependency. Aug 26, 2021
@Reasno Reasno merged commit a9b6e65 into master Aug 31, 2021
@Reasno Reasno deleted the refactor/container branch August 31, 2021 08:15
Reasno added a commit that referenced this pull request Aug 31, 2021
* refactor: change how DI and container works

* docs: clarify words

* test: test the cleanup function is executed

* test: cover current behavior

* refactor: change how DI and container works

* docs: clarify words

* test: test the cleanup function is executed

* test: cover current behavior

Co-authored-by: Trock <35254251+GGXXLL@users.noreply.github.com>
Reasno added a commit that referenced this pull request Aug 31, 2021
#187)

* fix(container): shutdown the modules in the reversed order of registration

* fix(container): shutdown the modules in the reversed order of registration

* feat(clihttp): limit max length a client can read from body (#186)

* feat: limit the length when read body

* fix: WithResponseLogThreshold error and add test case

* refactor(container): remove ifilter dependency. (#183)

* refactor: change how DI and container works

* docs: clarify words

* test: test the cleanup function is executed

* test: cover current behavior

* refactor: change how DI and container works

* docs: clarify words

* test: test the cleanup function is executed

* test: cover current behavior

Co-authored-by: Trock <35254251+GGXXLL@users.noreply.github.com>

* feat: make metrics struct type safe (#185)

* feat: Use type safe metrics struct

* doc: add comment

* Update doc.go

* refactor: use point receivers

* test: fix tests

* test: fix tests

* fix(container): test

Co-authored-by: Trock <35254251+GGXXLL@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants