[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-355) Define how property paths are represented in key part of URL
[ http://tools.oasis-open.org/issues/browse/ODATA-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Pizzo updated ODATA-355: -------------------------------- Proposal: Add an "alias" attribute to the <edm:propertyref> element within a <edm:key>. name must be unique across properties/nav props. if defined, you must use the alias in a key lookup and you are only allowed to use the alias in a key lookup. (was: Change URL conventions to omit key property names and require key values to appear in the order of the key definition: ~/OrderDetails(42,3) means OrderID 42, ItemID 3) > Define how property paths are represented in key part of URL > ------------------------------------------------------------ > > Key: ODATA-355 > URL: http://tools.oasis-open.org/issues/browse/ODATA-355 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Sub-task > Components: OData URL Conventions > Affects Versions: V4.0_WD01 > Environment: [Proposed] > Reporter: Ralf Handl > Priority: Blocker > Fix For: V4.0_WD01 > > > The key of an entity is part of the URl path, so we can't use forward slashes for complex key parts: > Problem(Header/ID=42) cannot be used as this defines two path segments Problem(Header and ID=42 > Alternatives: > - Problem(Header%2fID=42) - Encode / as %2f > - Problem(Header-ID=42) - Use a dash instead of / > - Problem(Header.ID=42) - Use a dot instead of / > - Problem/Header/ID=42 - Use forward slashes as key delimiters instead of parentheses > - Reject ODATA-60 and disallow parts of complex properties as key values > - Problem(42) - do not state property names in key expressions, instead require key values to appear in the order of the key definition -- 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]