Open saleh-aleid opened 4 years ago
@saleh-aleid Yes, I needed to (temporarily) disable that feature. Sorry for the confusion. I'll push a fix in the next few days.
@zaiste is this something that will be fixed? Is there any workaround in order to achieve that feature without use
method?
@nejcsever you can use this:
final managerName = supervisor.summon<OtherManager>();
@saleh-aleid Are you passing supervisor into constructor to other managers then?
@nejcsever no see this link: Automatic Provider Setup
Oh, ok got it it's imported as a constant. Thanks.
Dear Zaiste,
Thank you very much for your great effort. I tried the (Manager asks another Manager for help) feature, but it didn't work for me. example:
var manager = use<MyManager>();
error:The method 'use' isn't defined for the type 'HomeManager'. Try correcting the name to the name of an existing method, or defining a method named 'use'.