-
Notifications
You must be signed in to change notification settings - Fork 39
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
Update GRM to make use of Dependency Injection #181
Comments
Been looking a little bit about what is necessary to get DI implemented for the repository (using From what I could gather this seems to require almost a complete rewrite GRM completely, as such I believe this may too big of a task to handle for now (at least for the next release). |
I agree, using Just one thing I believe is worth noting, adding full DI may be difficult to do until issue #126, and issue #190 is implemented. I would be happy to be proved wrong. 😄 |
I made some tests with
I see it differently. I think it would be a good preparation for this issues. For #126 you mentioned that Spectre.Cli is missing a feature, so it would block the DI implementation. |
Which is also why I mentioned issue #190, we need either the feature implemented, or that issue resolved (removing support for username+password). Now, to be fair, it is still possible to implement DI support without changing to Spectre.CLI, but since the commandlineparser framework doesn't natively support DI, it may be a difficult process to get it set up in that case. |
Yes, we use in version 5.x |
@arturcic thanks for confirming. |
…-injection (GH-181) Add Dependency Injection
@gep13 Issue can be closed. |
Agreed, thanks for following up on this one. |
🎉 This issue has been resolved in version 0.12.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Detailed Description
Instead of hard coding and passing in objects manually, we should look into updating GRM to make use of Dependency Injection.
Context
Possibly to make maintaining the application easier.
Possible Implementation
Make use of
Microsoft.Extensions.DependencyInjection
.Your Environment
Not important
The text was updated successfully, but these errors were encountered: