What if the list key is an identityref, enum, or leafrefs? Do we handle the prefixes well?
Make a research about where URL encoding is allowed, where is it a must and where it is forbidden.
What if the list key is complicated like it is a compound key of two leafs and one is of int type and the second one is something like union { string, identityref } and there is a when statement like "if the first key is even number, then the second key is string, otherwise it is the identityref (perhaps to an identity from another module)" . Is such YANG even allowed? And if so, do we handle such situations well?
int
type and the second one is something likeunion { string, identityref }
and there is awhen
statement like "if the first key is even number, then the second key is string, otherwise it is the identityref (perhaps to an identity from another module)" . Is such YANG even allowed? And if so, do we handle such situations well?