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-1458) Clarify representation of navigation properties in respone that are expanded by $apply


Gerald Krause created ODATA-1458:
------------------------------------

             Summary: Clarify representation of navigation properties in respone that are expanded by $apply
                 Key: ODATA-1458
                 URL: https://issues.oasis-open.org/browse/ODATA-1458
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: Data Aggregation
    Affects Versions: V4.0_CS02
            Reporter: Gerald Krause
             Fix For: V4.0_CSD04


In the context of ODATA-1449 we clarified that if the paths expanded by transformation e.g. {{transformnested}} include a navigation property, the resources addressed by that path are included in the output set of the transformation, but that it requires a dedicated {{$expand}} of that navigation property to include the resources also in the response to the request.

This is in line with the following para in section 3 System Query Option $apply of the [current WD of the spec:|https://www.oasis-open.org/apps/org/workgroup/odata/download.php/68846/odata-data-aggregation-ext-v4.0-wd05.docx]: "This means an output set can contain structural and dynamic properties as well as navigation properties, Navigation properties in the result of $apply can be further expanded using $expand (see [Evaluating $apply|#sec_Evaluatingapply])."

However, transformation {{groupby}} behaves differently: Navigation properties part of a grouping property path are returned expanded in the response to the request - see examples in spec text.

This means the specification has two behaviors when processing paths with navigation properties. It should be clarified if this is intended.

In this context, the text at the end of section 3.10.2 should be sharpened. It says: "Grouping properties that specify navigation properties are automatically expanded, and the specified properties of that navigation property correspond to properties specified in a $select expand option on the expanded navigation property. " - It is unclear if it describes the effect for the output set of the {{groupby}} transformation or for the response to the request.



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


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