On Sep 2, 7:50 am, Olivier <[email protected]> wrote:
> I just encountered an error (see below) that annoys me: I receive an
> error in child injector, but I don't have any child injector. Since
> the project is recenlty rewritten from scratch, I have only three
> modules (plus one "installing" these). The Game class is bound through
> an assisted injection and only once. I checked several times.

Both assisted inject and private modules use child injectors behind-
the-scenes. We're thinking about changing assisted inject's internals
to avoid this problem, so you can get Game from either an injection or
from an assisted inject-powered factory.

In the interim, you might have to do the assisted injection manually -
ie. implement the factory by hand rather than with a FactoryProvider.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to