[MDSAL-48] Binding Specification: Type empty needs better representation than Boolean or Null vs NonNull Created: 15/Sep/14 Updated: 20/Mar/19 Resolved: 20/Mar/19 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | Binding codegen, Binding runtime |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.0 |
| Type: | Improvement | ||
| Reporter: | Tony Tkacik | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| Issue Links: |
|
||||||||
| Description |
|
In Binding specification v1 YANG type empty was represented as Boolean, which was bit confusing. In normalized Node it is represented as java.lang.Void type which is bit unusual type to work with in normal code path. Type empty needs better representation which will clearly describe it semantics: |
| Comments |
| Comment by Tony Tkacik [ 01/Mar/16 ] |
|
Type Empty is introduced here: |