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

has operator is missing from the operator precedence table

    XMLWordPrintable

    Details

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

      [Applied]

      Description

      Section 5.1.1.9 defines operator precedence but doesn't mention the new "has" operator that can be used to determine if an enumeration value contains a particular member.

      Enums only support equality and comparison operators, so it probably doesn't make a lot of difference.

      If we add it to Primary then::

      Not style has Sales.Pattern'Yellow'

      would be interpreted the same as::

      Not (style has Sales.Pattern'Yellow')

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: