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

[Bug] Behavior 'AllowInjectionScopeLocation' doesn't make 'IInjectionScope' locatable thru Locate<IInjectionScope> #172

Closed
mcdis opened this issue Jun 4, 2018 · 2 comments

Comments

@mcdis
Copy link

mcdis commented Jun 4, 2018

Container = new DependencyInjectionContainer(_ =>
{
  _.Behaviors.AllowInjectionScopeLocation = true;
});
Container.Locate<IInjectionScope>(); <--- Fail
@ipjohnson
Copy link
Owner

I believe I know why it’s not returning itself. I’ll look to make this change in the coming days and release a beta with the other issue you raised

@ipjohnson
Copy link
Owner

I've released 6.4.0-RC685 with this fix

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

No branches or pull requests

2 participants