Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Sling Models Implementation 1.0.6
Description
Sling models injections for interfaces and constructor fails if:
- the type to inject is a primitive type
- its marked as optional
- and there is no value to inject
in this case it is tried to inject null which fails because null is not allowed for a primitive.
patch attached.