Support Staff2 Posted by Ondina D.F. on 19 Jul, 2012 07:26 AM
Sorry for the late response, but I hoped that Till, Stray or
Shaun would answer your question. I’ve notified them, but
they are probably busy with rl2…
Could it be that the problem is caused by your custom injector
not knowing which ApplicationDomain to use?
How does your SamInjector() look like?
The original Injector createChildInjector method looks like
public function createChildInjector(applicationDomain:ApplicationDomain=null) : Injector
var injector : Injector = new Injector();
About SamInjector, sorry, it's a rest of my tests.
The problem exits with the base Injector class.
Few additional informations:
I use robotlegs 1.5.2 (based on SwiftSuspender 1.6.0 if I
I've tryed with [master] branch of Swift Suspender (tschneidereit
github repo) and the issue still persists.
sorry for not replying earlier - I missed this post.
Can you try the Robotlegs build here:
https://github.com/tschneidereit/robotlegs/downloads and see if that
changes things? It contains Swiftsuspenders 2 and I think I remember
fixing an issue that sounded a lot like yours.
I need diffenrent RequiredObject per injector, but I would like
the objects originaly mapped in parent to be injected with parent
instances of dependencies.
The child injector forward the instanciation of ComposedObject
to it's parent, but don't forward the 'hydratation' (I mean fulfill
all the injection points of the new instance, is this word
I would my child injectors to forward both to parent if they
don't have themselves the ComposedObject definition.
I think a custom rule can do that, but I failed implementing