Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Scripting Sightly Engine 1.0.18
-
None
Description
At the moment Sightly data-sly-resource expects a resource path. The are moments where we already have a Resource that we need to include (such as including current resource or iterating and including children) and this leads to conversions such as Resource -> path -> Resource which are not desirable performance-wise.
We should properly handle a resource passed as a parameter, such as:
<sly data-sly-resource="${resource @ resourceType='some/type'}"/>
Attachments
Issue Links
- links to