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-1061) Allow key expressions in Path constructs within annotations


Ralf Handl created ODATA-1061:
---------------------------------

             Summary: Allow key expressions in Path constructs within annotations
                 Key: ODATA-1061
                 URL: https://issues.oasis-open.org/browse/ODATA-1061
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: CSDL JSON , CSDL XML
    Affects Versions: V4.01_CSD01
         Environment: Proposed
            Reporter: Ralf Handl
             Fix For: V4.01_CSD02


With ODATA-960 we added absolute paths to the Path syntax, which allows referencing properties of a singleton, e.g.

<Annotation Term="Display.visible" Path="/this.container/Settings/FeatureXxxIsAvailable" />

A logical extension is allowing key expressions to reference entities and their properties within an entity set:

<Annotation Term="Display.visible" Path="/this.container/SettingsCollection('FeatureXxx')/IsAvailable" />

In addition to literal values the key values can be provided using path expressions. This enables (a third party) to address content where the service author forgot to define a navigation path:

<Annotation Term="Display.title" Path="/this.container/Products(ID=ProductID)Name" />



--
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]