-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Sling Models API 1.3.4, Sling Models Impl 1.4.0
-
Component/s: Extensions
-
Labels:None
Currently, @Via support in Sling Models is limited to JavaBean properties. It would be useful to be able to extend this and allow for downstream projects to add new @Via providers.
Proposing to support this by extending the @Via annotation
@Via(value = "jcr:content", type = ChildResource.class)
The default type is BeanProperty (the current behavior).
New providers can be added by implementing a ViaProvider SPI and provide a marker class for use in the annotation.
- Blocked
-
SLING-6778 [Sling Models] Support Delegate Pattern for Models adapted from interfaces
-
- Closed
-