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

Feature/di3 #2200

Merged
merged 16 commits into from
Mar 23, 2020
Merged

Feature/di3 #2200

merged 16 commits into from
Mar 23, 2020

Conversation

arturcic
Copy link
Member

Description

This is the third (and I guess final) in the series of refactoring adding Dependency Injection

Motivation and Context

There are some classes that needs to keep only the state, not behavior (like GitVersionContext), as well as IRepository should be only one instance to reduce the code accessing the git repository.
Now we are able to inject the IRepository or GitVersionContext in the code where it's needed making the the DI responsible of the creation.

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@arturcic arturcic added this to the 5.3.0 milestone Mar 23, 2020
@arturcic arturcic merged commit 6ea1752 into GitTools:master Mar 23, 2020
@arturcic arturcic deleted the feature/di3 branch March 23, 2020 16:45
@arturcic arturcic mentioned this pull request Mar 25, 2020
5 tasks
@github-actions
Copy link

github-actions bot commented May 4, 2020

🎉 This issue has been resolved in version 5.3.0 🎉
The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants