[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-763) Allowing implicit aliasing of parameters (public comment c201412e00001)
[ https://issues.oasis-open.org/browse/ODATA-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Pizzo updated ODATA-763:
--------------------------------
Proposal:
Support only when the function/action is the last segment:
A service may support invoking a function as the last segment in a path by omitting the parens and supplying the named parameters as query options prefixed with the "@" sign (ODATA-763 and ODATA-644). For maximum interoperability, services SHOULD (MUST?) continue to support the parens syntax as well.
was:See description
> Allowing implicit aliasing of parameters (public comment c201412e00001)
> -----------------------------------------------------------------------
>
> Key: ODATA-763
> URL: https://issues.oasis-open.org/browse/ODATA-763
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: New Feature
> Components: OData URL Conventions
> Affects Versions: V4.0_ERRATA02
> Environment: Simplified Syntax;[Proposed]
> Reporter: Ralf Handl
> Assignee: Michael Pizzo
> Labels: Usability
> Fix For: V4.01_WD01
>
>
> The public comment [c201412e00001] (https://lists.oasis-open.org/archives/odata-comment/201412/msg00001.html) with title "Parameter implicit aliasing" suggests to add a short-hand notation for parameter aliases, e.g.
> GET http://<serviceroot>/Add()?a=1&b=1
> instead of the currently necessary
> GET http://<serviceroot>/Add(a=@a,b=@b)?@a=1&@b=1.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]