Open kwatsen opened 5 years ago
Do not support since this is a complex change to implement and there is a simple work-around.
But you agree with the use-case, so importance med?
The "simple" workaround, I suppose, is to copy/paste the case statement, which isn't DRY.
Maybe YANG could have a preprocessing language like C
macros?
Sometimes there is a need to augment the same
case
statement into multiplechoice
statements.Ideally the
case
statement itself could also be defined in thegrouping
statement.Currently, one must define the same
case
statement in eachaugment
and then use agrouping
to define the descendent nodes...