DoclerLabs / hexMachina

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

inject-into is broken in hex.runtime.ApplicationAssembler #230

Closed aliokan closed 7 years ago

aliokan commented 7 years ago

inject-into="true" seems broken with XmlReader, is working when I uncomment this block : https://github.com/DoclerLabs/hexIoC/blob/develop/src/hex/ioc/core/CoreFactory.hx#L324-L327 commented on this commit : https://github.com/DoclerLabs/hexIoC/commit/1e296e01f1483df079a210f2ba0bea27c0b8ff20

aliokan commented 7 years ago

The problem came from @PostConstruct is called before the injection (Inject-into).