Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Sling Models Implementation 1.0.0
Description
If you have an injected field with a paramterized type, e.g.
@Inject
private Iterator<Resource> someResources;
And then want that field injected using the request attribute injector, it fails logging the message:
BindingsInjector doesn't support non-class type {}
Obviously that error message is wrong (because it is the RequestAttributeInjector), but it would be best if we could support parameterized types here, even if it means an unsafe cast.