OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-728) A recursive hierarchy annotation may also contain a navigation property to the parent node.


Gerald Krause created ODATA-728:
-----------------------------------

             Summary: A recursive hierarchy annotation may also contain a navigation property to the parent node.
                 Key: ODATA-728
                 URL: https://issues.oasis-open.org/browse/ODATA-728
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: OData Extension for Data Aggregation 
    Affects Versions: V4.0_CS01
            Reporter: Gerald Krause
             Fix For: V4.0_CSD03


Consider a client processing entities according to their hierarchical structure imposed by the given hierarchy annotation. If the client wants to filter this entity set on some other property not related to the hierarchy, s/he wants to get all tree segments from the matching entities upwards to the root node. If the recursive hierarchy would also include a "parent" navigation property, this could be accomplished with a single request:
GET Set?$filter=dataProp eq someValue&$select=nodeId,parentNodeId&$expand=parent($levels='max')
In order to let clients detect the availability of such navigations, the existing RecursiveHierarchy term needs to be extended.




--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]