Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The ChildResourceInjector always returns one/multiple Resource objects which makes it impossible to use those return values with another Sling Model requiring the adaptable SlingHttpServletRequest.
A solution from ACS Commons introduced https://adobe-consulting-services.github.io/acs-aem-commons/features/sling-model-injectors/child-resource-from-request/index.html in https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/1920. There should be a solution built into Sling which allows for easier Sling Model aggregation.
Attachments
Issue Links
- relates to
-
SLING-5726 Allow ValueMapInjector and ResourcePathInjector to act directly on SlingHttpServletRequest
- Closed