[MDSAL-526] Disconnect ValueTypeCodec from IllegalArgumentCodec Created: 29/Feb/20 Updated: 29/Feb/20 |
|
| Status: | Confirmed |
| Project: | mdsal |
| Component/s: | Binding runtime |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
ValueTypeCodec is violating IllegalArgumentCodec's requirement of not producing nulls. As it turns out, there are concepts which are not representable in Binding world, in which case codec implementations generally use a null return. Disconnect ValueTypeCodec from yangtools' Codec concept and opt in for a properly-defined interface. |