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-1517) [OData-CSDL, example 64] annotating a navigation property or its addressed resource?


Heiko Theissen created ODATA-1517:
-------------------------------------

             Summary: [OData-CSDL, example 64] annotating a navigation property or its addressed resource?
                 Key: ODATA-1517
                 URL: https://issues.oasis-open.org/browse/ODATA-1517
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: CSDL JSON , CSDL XML
            Reporter: Heiko Theissen


[OData-CSDL|https://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/odata-csdl-xml-v4.01.html#sec_PathSyntax]Âcontains

{quote}
Example 64: model path addressing an annotation on a navigation property
{code}
â/Items@Capabilities.InsertRestrictions/Insertable
{code}
{quote}

which claims to be
{quote}
addressing annotations on the navigation property itself
{quote}

But according to the [capabilities vocabulary|https://github.com/oasis-tcs/odata-vocabularies/blob/27967a1cef3e737b8ab3d787581664aa5dcb921b/vocabularies/Org.OData.Capabilities.V1.xml#L600], this annotation applies only to entity sets and collections, not to navigation properties.

However, external [annotation targets|https://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/odata-csdl-xml-v4.01.html#sec_Target] make no distinction between a navigation property and the resource addressed by it. Is the distinction between

{code}
â/Items@Capabilities.InsertRestrictions/Insertable
{code}
and
{code}
â/Items/@Capabilities.InsertRestrictions/Insertable
{code}

perhaps entirely artificial?



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