[OASIS Issue Tracker] (ODATA-775) Should allow use of parameter aliases for key lookup

From
OASIS Issues Tracker <>
Date
2015-03-12T13:02:47+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-775) Should allow use of parameter aliases for key lookup
[ https://issues.oasis-open.org/browse/ODATA-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59146#comment-59146 ] 

Ralf Handl commented on ODATA-775:
----------------------------------

Should we restrict aliasing to the key predicate long form

Customers(ID=@custID)?@custID='ALFKI'

> Should allow use of parameter aliases for key lookup
> ----------------------------------------------------
>
>                 Key: ODATA-775
>                 URL: https://issues.oasis-open.org/browse/ODATA-775
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData ABNF Construction Rules, OData URL Conventions
>    Affects Versions: V4.0_ERRATA02
>         Environment: [Proposed]
>            Reporter: Michael Pizzo
>            Priority: Minor
>             Fix For: V4.0_ERRATA03
>
>
> The ABNF currently allows the use of parameter aliases for function parameters and literals in filter and orderby expressions, but does not allow the use of parameter aliases in key predicates.  So the following would not be allowed:
> Customers(@custID)?@custID='Alfki'



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)