Next in thread → Next in month →

[OASIS Issue Tracker] (ODATA-1078) What happens if lambda variable name matches a (complex) property name?

From
OASIS Issues Tracker <>
Date
2017-05-19T10:22:45+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-1078) What happens if lambda variable name matches a (complex) property name?
[ https://issues.oasis-open.org/browse/ODATA-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-1078:
------------------------------

    Resolution: https://www.oasis-open.org/committees/download.php/60438/odata-v4.01-wd02-part2-url-conventions-2017-04-05.docx

> What happens if lambda variable name matches a (complex) property name?
> -----------------------------------------------------------------------
>
>                 Key: ODATA-1078
>                 URL: https://issues.oasis-open.org/browse/ODATA-1078
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: URL Conventions
>    Affects Versions: V4.01_CSD02, V4.0_ERRATA03
>         Environment: [Proposed]
>            Reporter: Michael Pizzo
>             Fix For: V4.01_CSD02
>
>
> MUST all paths wthin a lambda operator be prefixed with either a lambda variable name (potentially from an enclosing lambda operator) or $it/ to reference properties of the base set?
> Or is $it/ not required for properties/paths in the base set? Which would require that the lambda operator MUST NOT be identical to any property name in the base set?
> My inclination would be:
> 1) It is not required
> 2) In case of conflict, lambda variable name wins (you shouldn't pick a lambda variable name that conflicts...)



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
Next in thread → Next in month →