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

Remove / in reference in instance annotation in filter and orderby expression

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: V4.01_CSD01
    • Fix Version/s: V4.01_CSD02
    • Component/s: URL Conventions
    • Labels:
      None

      Description

      In ODATA-933 we allowed using instance annotations in $filter. In doing so we ended up treating annotations as a path segment, matching the path syntax.
      Although perhaps perfectly aligned with the path syntax it looks weird to have two separators, both / and @ sign separating the property to which the annotation applies to and the annotation itself. Everywhere else where we, in our JSON payloads, have an annotation, we use property@annotation.
      I'd propose we'd amend the resolution of ODATA-933 accordingly and omit the / from the reference to the annotation and therefore address an annotation value on a property as
      NavigationPropertyName@Term#Qualifier instead.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hubert.heijkers Hubert Heijkers
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: