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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added IServiceFactory<T> + Refactor DI #1010

Merged
merged 2 commits into from Feb 5, 2024

Conversation

adearriba
Copy link
Contributor

Hi,

Based on my suggestion I did the changes to the factories: #1003.
I also updated DI to automatically include all factories based on the generic interface and updated the DI test case to test all interfaces are added correctly.

Let me know your thoughts and I hope this helps you in some way. 馃槃 I've use a lot ShopifySharp and I'm glad to be of help.

Created IServiceFactory<T> and updated all Factories to use this new interface.
Refactor test cases for dependency injectio to validate all factories using the base generic interface.
@nozzlegear
Copy link
Owner

This is awesome @adearriba! Thanks a ton for doing this, it makes maintaining the service factories and DI package a lot simpler.

@adearriba
Copy link
Contributor Author

Happy to help! You are welcome 馃槂

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.

None yet

2 participants