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

Fix for GetService() implementation of FuncDependencyResolver #389

Merged
merged 1 commit into from
Oct 28, 2013

Conversation

journeyman
Copy link

I use FuncDependencyResolver with my 3rd party IoC and I'm unable to overwrite default registration of DebugLogger with my ILogger implementation, this PR fixes it

@jlaanstra
Copy link
Member

I'm in general +1 on this, although it would be a breaking change, so we should be careful. The interface contract currently does not specify which object is returned if multiple are registered, but we could make that explicit with this PR.

@journeyman
Copy link
Author

True, it'd be a breaking change. Or we can provide an optional third parameter in FuncDependencyResolver's ctor for getService func. Sounds much better than a breaking change. Any more ideas?

@anaisbetts
Copy link
Member

This is the way it should've been from day one, forgot to fix this up. Thanks @journeyman! I don't think it will break anybody, since the previous behavior was kind of useless

anaisbetts pushed a commit that referenced this pull request Oct 28, 2013
Fix for GetService() implementation of FuncDependencyResolver
@anaisbetts anaisbetts merged commit 66efb15 into reactiveui:master Oct 28, 2013
@lock lock bot locked and limited conversation to collaborators Jun 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants