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

Dynamic Proxy breaks optional constructor arguments #41

Open
wasabii opened this issue Jun 5, 2018 · 0 comments
Open

Dynamic Proxy breaks optional constructor arguments #41

wasabii opened this issue Jun 5, 2018 · 0 comments

Comments

@wasabii
Copy link

wasabii commented Jun 5, 2018

I've got a service with a ctor arg with a default value of null. Autofac throws saying it can't find a service for this parameter. Which is correct, there isn't one. But it's optional.

I suspect it's the dynamic proxy. Probably not duplicating the default.

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

No branches or pull requests

3 participants