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

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

      Proposed

      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.

            Assignee:
            Unassigned
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: