DoclerLabs / hexMachina

Releases, issues, documentation, website of hexMachina, framework written in Haxe
http://hexmachina.org
MIT License
44 stars 8 forks source link

Injector cant inject into properties with {} Generic #169

Closed ivan-slepchenko closed 7 years ago

ivan-slepchenko commented 8 years ago

@Inject public var dispatcher : IDispatcher<{}>;

hex.di.error.MissingMappingException at hex.di.reflect.InjectionUtil#applyPropertyInjection line:58 in file 'InjectionUtil.hx' | 'hex.di.Injector' is missing a mapping to inject into property named 'dispatcher' with type 'hex.event.IDispatcher<{ }>' inside instance of 'memberapplet.module.privateinvitation.view.PrivateInvitationViewHelper'. Target dependency: 'hex.event.IDispatcher<{ }>|' [NoDomain] at hex.error.Exception::new line 24 in file Exception.hx