[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Issue Comment Edited: (ODATA-441) Specify canonical form of entity-id
[ http://tools.oasis-open.org/issues/browse/ODATA-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33814#action_33814 ] Ralf Handl edited comment on ODATA-441 at 6/20/13 3:13 AM: ----------------------------------------------------------- Which proposal do we want to apply: the one in Proposal, or the slightly modified one in the description? The one simplifies constructing navigation properties but complicates the omission rules for odata.editLink and odata.readLink: The odata.editLink annotation MUST appear for updatable entities if odata.metadata=full is requested or if the edit URL differs from the entity-id. would have to be morphed to The odata.editLink annotation MUST appear for updatable entities if odata.metadata=full is requested or if the edit URL differs from the entity-id other than by an appended cast segment. Similar for readLink was (Author: ralfhandl): I move to resolve ODATA- as proposed > 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: [Applying] > 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]