-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_ERRATA03
-
Fix Version/s: V4.01_WD01
-
Component/s: JSON Format
-
Labels:None
-
Environment:
Proposed
-
Proposal:
The example shows
"target": "Employees(2)/RemainingVacation(Year=@Year)"
The prose text says:
The target name/value pair contains a bound function or action URL. If the URL in the target name/value pair cannot be used to invoke all overloads for the function, then the function name MUST be distinguished by appending the parentheses-enclosed, comma-separated list of non-binding parameter names.
This implies that the example should show
"target": "Employees(2)/RemainingVacation(Year)"
Problem is that this URL would be quite useless for invoking the function. Also the specific function overload is already identified by the advertisement
"#Model.RemainingVacation(Year)":
{...}If the intention of "target" is to provide a URL for invoking the function, then a better approach would be to build on ODATA-763 and require that "target" is a URL without trailing parens and parameter names that can be invoked by appending the default aliases for the parameters listed in the advertisement.