Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-449

Empty lists/maps have no semantic meaning in Binding

    XMLWordPrintable

    Details

    • Epic Name:
      Binding empty lists/maps

      Description

      There is a semantic difference between an empty list and a null list in Binding. Since our backing implementation is YANG-based, there is little value in this difference and hence it should be eliminated.

      There are three main aspects:

      1. binding runtime, which needs to turn empty lists to nulls in the Binding->DOM direction
      2. binding spec, which needs to redefine how a List-based equals works, which really is defined by mdsal-binding-java-api-generator's output
      3. binding runtime (again), which needs to update its equals() and translation implemenetation

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              rovarga Robert Varga
              Reporter:
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: