← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] (ODATA-902) 4.5.2: make "annotations" a hash-map with the target as key

From
OASIS Issues Tracker <>
Date
2016-01-29T13:10:47+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-902) 4.5.2: make "annotations" a hash-map with the target as key
Ralf Handl created ODATA-902:
--------------------------------

             Summary: 4.5.2: make "annotations" a hash-map with the target as key
                 Key: ODATA-902
                 URL: https://issues.oasis-open.org/browse/ODATA-902
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: OData JSON CSDL
    Affects Versions: V4.0_CSD01
         Environment: Proposed
            Reporter: Ralf Handl
             Fix For: V4.0_CSD02


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.





--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
← Prev in month ← Prev in thread
Next in thread → Next in month →