You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Nicolas Peltier (JIRA)" <ji...@apache.org> on 2017/10/20 15:53:00 UTC

[jira] [Commented] (SLING-7172) Change SlingQuery Pipe API

    [ https://issues.apache.org/jira/browse/SLING-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212814#comment-16212814 ] 

Nicolas Peltier commented on SLING-7172:
----------------------------------------

after discussion with [~tomek.rekawek] will implement
 children(), find(), closest(), parents() and siblings() 

the old $ was children, and will be find, which is more obvious

> Change SlingQuery Pipe API
> --------------------------
>
>                 Key: SLING-7172
>                 URL: https://issues.apache.org/jira/browse/SLING-7172
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: pipes 1.1.0
>            Reporter: Nicolas Peltier
>
> currently SlingQuery Pipe expression is used for retrieving resources using getChildren. This should be calling "find" which is more natural for developers.
> getChildren should still be optional (flag isDeep=false)? 
> we should update to 4.0 version



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)