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

4.5.2: make "annotations" a hash-map with the target as key

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CSD01
    • Fix Version/s: V4.0_CSD02
    • Component/s: CSDL JSON
    • Labels:
      None
    • Environment:

      Proposed

      Description

      Annotations with external targeting are currently represented as an array of objects with a "target" property. This forces consumers to loop over the array in order to find all annotations for a given target, a common use case in UIs.

      Using an object that is a hash-map from target to all annotations for this target would be much more convenient.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: