Radu Cotescu created SLING-9599:
-----------------------------------
Summary: Make the dependency resolution more resource-type centric
Key: SLING-9599
URL: https://issues.apache.org/jira/browse/SLING-9599
Project: Sling
Issue Type: Improvement
Components: Scripting
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Fix For: Scripting HTL JS Use Provider 1.2.2
The current (1.2.0 and before) implementation of the
{{org.apache.sling.scripting.sightly.js.impl.use.DependencyResolver}} can be
simplified and reduced to two use-cases:
# caller is a JS script - resolve the dependency relative to the script, but
taking resource type hierarchy in consideration
# caller is a component script - resolve the dependency relative to the
resource type, but traverse the resource type hierarchy if needed
--
This message was sent by Atlassian Jira
(v8.3.4#803005)