Thanks for the feedback Bertrand. I opened 
https://issues.apache.org/jira/browse/SLING-7377 
<https://issues.apache.org/jira/browse/SLING-7377> to track this.
IMHO we can start with an implementation in ResourceResolverImpl which 
leverages search. In the future we might improve this implementation for those 
resource providers which provide this information differently (in a more 
performant way).

> On 12. Jan 2018, at 13:35, Bertrand Delacretaz <[email protected]> wrote:
> 
> On Fri, Jan 12, 2018 at 11:45 AM, Konrad Windszus <[email protected]> wrote:
>> ...I am thinking about introducing a new method to ResourceResolver which 
>> allows to return all derived
>> resource types for a given resource type...
> 
> Sounds reasonable to me - either this or create a ResourceProvider
> that exposes the resource types hierarchy.
> 
> -Bertrand

Reply via email to