On Thursday, June 6, 2013 5:33:22 AM UTC-4,
guillau...@gmail.com wrote:
Ok, thank you Tim. That's what I "feared" but I wanted to make sure I was not missing some feature here.
It's actually a really Good Thing[tm] that Guice doesn't try to do anything magical with types and polymorphism. I think everyone bumps into something like this early on in using Guice and finds it a little annoying. But later it turns out to be a blessing when something goes wrong and you're trying to sort it out, because you can safely assume that Guice is being pedantically literal in its interpretation of what you asked it to do. Sometimes annoyingly so - as in binding X is not the same as binding X<?> - but it makes what it's going to do very predictable.
-Tim