-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fill control origin #44
Conversation
case "inherited": | ||
return inheritedOrigination | ||
} | ||
return noOrigin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we simplify this and the variables above to simply be a map from the origin key to the document substring?
All looks good! Just a couple small things. |
5194ce9
to
8f4cf44
Compare
type originMapping struct { | ||
yamlMapping string | ||
docMapping string | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice solution!
Builds on #42. Delivers #26.
This PR introduces filling of the control origination checkbox based on the values in the opencontrol yaml.
The logic for unchecking is there but the logic for WHEN to uncheck will be addressed in #45