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


Ralf Handl created ODATA-1203:
---------------------------------

             Summary: CLONE - Allow key expressions in Path constructs within annotations
                 Key: ODATA-1203
                 URL: https://issues.oasis-open.org/browse/ODATA-1203
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: CSDL JSON , CSDL XML
    Affects Versions: V4.01_CSD01
         Environment: Applied
            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
(v7.7.2#77003)


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