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-1065) Generalize Edm.AnyPath to be a path to any model element

    [ https://issues.oasis-open.org/browse/ODATA-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=65979#comment-65979 ] 

Ralf Handl commented on ODATA-1065:

In addition to the abstract type we also need an expression to actually reference something other than a property, navigation property, or annotation:

<Annotation Term="Adhoc.MyFavoriteModelElement"

<Annotation Term="Adhoc.MyFavoriteModelElement"
                    ModelElementPath="/my.schema/someAction</ModelElementPath" />

"AnyPath" would look a bit odd in the above examples: how about renaming the abstract type to "ModelElementPath"?

> Generalize Edm.AnyPath to be a path to any model element
> --------------------------------------------------------
>                 Key: ODATA-1065
>                 URL: https://issues.oasis-open.org/browse/ODATA-1065
>             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-516 we introduced the abstract type Edm.AnyPath as an abstraction of Edm.AnnotationPath, Edm.PropertyPath, and Edm.NavigationPropertyPath.
> We now face situations where we want to reference other types of model elements, e.g. bound actions or functions.
> It seems wise to use the rather generic name "AnyPath" really for any path to any type of model element, which would
> a) postpone the need for actually adding specific types Edm.ActionPath, Edm.FunctionPath, Edm.EntityTypePath, ...
> b) allow us to later add these more specific types for the more common cases

This message was sent by Atlassian JIRA

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