-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cleanup interface IProvider #58
Comments
Hey I started looking a bit into this one last night, I'll try to get something and submit a PR. I'm thinking something like an interface per second param in the existing method e.g. IProvideClass, IProvideFactory, etc. |
@Tolowe I thought of something like defining several interfaces named the same way. Buy they are structured a little bit differently.
Something like this. I've seen this technique is used a lot in libraries. Users of that container should clearly understand what object format should be provided. It's not really that important at this moment, but if you have some time to implement this, let us know here :) |
feat: changed provider interface to merged interfaces. fixed mispell …
I messed up interfaces for registered providers within Containers. They can't even be exported.
The text was updated successfully, but these errors were encountered: