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

RegisterDecorator overload that accepts lifestyle is missing generic constraints #499

Closed
onyxmaster opened this Issue Dec 20, 2017 · 2 comments

Comments

2 participants
@onyxmaster

onyxmaster commented Dec 20, 2017

I wonder if this overload omits the constraints present on the other one intentionally?

@onyxmaster onyxmaster changed the title from RegisterDecorator overload that accepts lifestyle does not have constraints to RegisterDecorator overload that accepts lifestyle is missing generic constraints Dec 20, 2017

@dotnetjunkie dotnetjunkie added this to the v4.1 milestone Dec 20, 2017

@dotnetjunkie

This comment has been minimized.

Collaborator

dotnetjunkie commented Dec 20, 2017

That's a bug.

dotnetjunkie added a commit that referenced this issue Dec 20, 2017

@dotnetjunkie

This comment has been minimized.

Collaborator

dotnetjunkie commented Dec 20, 2017

And fixed.

Thanks for reporting this.

Simple Injector v4.1 will contain the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment