-
Notifications
You must be signed in to change notification settings - Fork 123
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
Separate keyword validation for fully supported keywords #5866
Conversation
jenkins build this please |
jenkins build this please |
const PartiallySupportedKeywords<std::string>& string_items, | ||
const PartiallySupportedKeywords<int>& int_items, | ||
const PartiallySupportedKeywords<double>& double_items, | ||
KeywordValidator(const UnsupportedKeywords& unsupported_keywords, |
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.
Imho this is getting out of hand. I'd introduce some struct, e.g.
struct Supported
{
SupportedKeywords<std::string>& string;
SupportedKeywords<int>& int;
SupportedKeywords<double>& double;
};
and adjust constructor to
KeywordValidator(unsupported, partially_supported, fully_supported, special)
and adjust getters accordingly.
jenkins build this please |
jenkins build this please |
It is approved and jenkins is green. Let us get it in now. |
Avoid abusing 'PartiallySuppportedFlowKeywords' to for non-contextual verification of keywords that are actually fully supported.