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] Updated: (ODATA-441) Specify canonical form of entity-id


     [ http://tools.oasis-open.org/issues/browse/ODATA-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Pizzo updated ODATA-441:
--------------------------------

       Proposal: 
Slightly modified proposal:

By convention, the entity-id does not end with a cast segment even if the entity type is part of an inheritance hierarchy.
The canonical representation of the edit/self link is the id plus the cast segment [as required]
The canonical representation of the navigation link is the self link plus the navigation property
The canonical representation of the association link is to append /$ref to the navigation link.

This simplifies rules by putting the cast segment on the self link rather than conditionally applying it to each navigation property/advertised function/etc.

  was:
By convention, the entity-id does not end with a cast segment even if the entity type is part of an inheritance hierarchy.
The canonical representation of the navigation link is the id plus the navigation property with a possible cast segment as required.
The canonical representation of the association link is to append /$ref to the navigation link.
Clients have to append a cast segment when constructing property/navigation URLs as appropriate.
Clients can always append a single cast segment even if the entity type is not part of an inheritance hierarchy.

    Environment: [Applied]  (was: [Applying])
     Resolution: Approved as modified 2013-6-20.

Updated proposal as approved 2013-6-20.

> Specify canonical form of entity-id
> -----------------------------------
>
>                 Key: ODATA-441
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-441
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData Protocol , OData URL Conventions 
>    Affects Versions: V4.0_CSD01
>         Environment: [Applied]
>            Reporter: Ralf Handl
>            Assignee: Michael Pizzo
>             Fix For: V4.0_CSD02
>
>
> Slightly modified proposal:
> By convention, the entity-id does not end with a cast segment even if the entity type is part of an inheritance hierarchy.
> The canonical representation of the edit/self link is the id plus the cast segment [as required]
> The canonical representation of the navigation link is the self link plus the navigation property
> The canonical representation of the association link is to append /$ref to the navigation link.
> This simplifies rules by putting the cast segment on the self link rather than conditionally applying it to each navigation property/advertised function/etc.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


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