Details
-
Epic
-
Status: Resolved
-
Highest
-
Resolution: Done
-
None
-
None
-
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:
- binding runtime, which needs to turn empty lists to nulls in the Binding->DOM direction
- binding spec, which needs to redefine how a List-based equals works, which really is defined by mdsal-binding-java-api-generator's output
- binding runtime (again), which needs to update its equals() and translation implemenetation
Attachments
Issue Links
- blocks
-
MDSAL-456 Inconsistent list handling in Binding datastore operations
-
- Resolved
-
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 84571,2 | Revert "Do not emit empty lists to NormalizedNodes" | master | mdsal | Status: MERGED | +2 | +1 |
| 84572,1 | Revert "Do not emit empty lists to NormalizedNodes" | v4.0.x | mdsal | Status: MERGED | +2 | +1 |