CarterCommunity / Carter

Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
MIT License
2.05k stars 172 forks source link

[Question] Is it possible to do property injection on a CarterModulse version 7 and autofac #318

Closed samatstariongroup closed 1 month ago

samatstariongroup commented 1 year ago

Hi,

I am having a hard time getting property injection to work using a class that implements ICarterModule and Autofac. Constructure injection is working just fine. Anything special i need to do to get it to work?

jchannon commented 1 year ago

Not something I’ve ever tried

On Sun, 19 Mar 2023 at 19:58, Sam Gerené @.***> wrote:

Hi,

I am having a hard time getting property injection to work using a class that implements ICarterModule and Autofac. Constructure injection is working just fine. Anything special i need to do to get it to work?

  • Carter version 7.0.1
  • Autofac.Extensions.DependencyInjection version 8.0.0

— Reply to this email directly, view it on GitHub https://github.com/CarterCommunity/Carter/issues/318, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZVJQD44EVRL3OJJCMG7LW45QQHANCNFSM6AAAAAAWAJU5AA . You are receiving this because you are subscribed to this thread.Message ID: @.***>