autofac / Autofac.ServiceFabric

Autofac integration for Azure Service Fabric. Provides service factory implementations for Actors, Stateful Services and Stateless Services.
MIT License
26 stars 27 forks source link

Dynamic Proxy breaks optional constructor arguments #41

Open wasabii opened 6 years ago

wasabii commented 6 years ago

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.