dagger icon indicating copy to clipboard operation
dagger copied to clipboard

Default bindings for parameterized types?

Open swankjesse opened this issue 11 years ago • 4 comments

Dagger currently fails to create @Inject bindings for classes with type parameters. We could fix this. We should weight the upsides and the downsides; one big downside is that it'll require a ton of code, possibly even something that parses a type like Converter<Payment>.

See also Guice Punches Erasure In The Face.

swankjesse avatar Nov 12 '12 16:11 swankjesse