We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Via #241 the Modifier field was added to the Pattern struct. However, the YangType is still lacking the modifier information. Unfortunately the Pattern field is a []string (https://github.com/openconfig/goyang/blob/master/pkg/yang/yangtype.go#L249).
[]string
The conversion / resolution is done here: https://github.com/openconfig/goyang/blob/master/pkg/yang/types.go#L370-L377
I want to implement the modifier in the YangType. Should the pattern field remain a []string or should it become a
type ytPattern struct { pattern string inverted bool }
Which would be a breaking change.
The text was updated successfully, but these errors were encountered:
@wenovus, @robshakir any advice?
Sorry, something went wrong.
No branches or pull requests
Via #241 the Modifier field was added to the Pattern struct.
However, the YangType is still lacking the modifier information.
Unfortunately the Pattern field is a
[]string
(https://github.com/openconfig/goyang/blob/master/pkg/yang/yangtype.go#L249).The conversion / resolution is done here: https://github.com/openconfig/goyang/blob/master/pkg/yang/types.go#L370-L377
I want to implement the modifier in the YangType. Should the pattern field remain a []string or should it become a
Which would be a breaking change.
The text was updated successfully, but these errors were encountered: