Replies: 2 comments 1 reply
-
Yes, keys will always be the first children of a list (even if written in different order in YANG). Also, you may want to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Revisiting this as we are counting on this in a few places in the code now, and with the recent confusion on what an API is and backward compatibility/semver/etc -- Is this particular trait part of the official API, and if so might it be documented as such? Would be great if so, otherwise maybe we can't count on it... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've written a macro to walk the compiled schema node list of keys.
Is it the case though that keys will always be at the start of the child list and so a
break
works better here than thecontinue
?Beta Was this translation helpful? Give feedback.
All reactions