[YANGTOOLS-248] Unions are being generated to src/main/java not src/main/yang-gen-sal Created: 03/Aug/14 Updated: 10/Apr/22 Resolved: 04/Aug/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ed Warnicke | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| External issue ID: | 1476 |
| Description |
|
Unions are being generated to src/main/java not src/main/yang-gen-sal |
| Comments |
| Comment by Tony Tkacik [ 04/Aug/14 ] |
|
src/main/java contains code for missing part of unions - deserialization of string, which could not be autogenerated, and should be writen by model creator, since it is impossible to detect which type should be used (and is prefered in cases such as: union foo { type string; type inet:uri; }If you look at definition of inet:uri it does not contain any programatic |
| Comment by Tony Tkacik [ 04/Aug/14 ] |
|
src/main/java contains code for missing part of unions - deserialization of string, which could not be autogenerated, and should be writen by model creator, since it is impossible to detect which type should be used (and is prefered in cases such as: union foo { type string; type inet:uri; }If you look at definition of inet:uri it does not contain any programatic |