Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1078

What happens if lambda variable name matches a (complex) property name?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA03, V4.01_CSD02
    • Fix Version/s: V4.01_CSD02
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      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...)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: