hi team, I have made an extension of the data-sly-use api to also adapt from other objects than Request/Resource.
Example:
<sly data-sly-use.session="${'javax.jcr.Session' @ adaptable =
resource.resourceResolver}" />
As you can see the change has no impact on the syntax or language.
Would be great to receive feedback or to hear how to proceed.
https://issues.apache.org/jira/browse/SLING-6504
--
Feike
