Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check before validate in case of "when" statement #94

Open
jashmikant opened this issue Aug 1, 2023 · 0 comments
Open

Check before validate in case of "when" statement #94

jashmikant opened this issue Aug 1, 2023 · 0 comments
Labels
feature Feature request

Comments

@jashmikant
Copy link

container c{
leaf name {
type string;
}
leaf description {
when '../name="lag-1"';
type int32;
}
}
Here I want description option to only show if name is "lag-1" .
Currently this is only checked at validation in CLI.
But for above use case, it's better to check before validation.

@olofhagsand olofhagsand added the feature Feature request label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants