lordgamez commented on a change in pull request #1143:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1143#discussion_r681528029
##########
File path: libminifi/src/core/yaml/YamlConfiguration.cpp
##########
@@ -764,8 +764,15 @@ void YamlConfiguration::parseSingleProperty(const
std::string& propertyName, con
core::Property myProp(propertyName, "", "");
processor->getProperty(propertyName, myProp);
const PropertyValue coercedValue =
getValidatedProcessorPropertyForDefaultTypeInfo(myProp, propertyValueNode);
Review comment:
That function does the cast through `yaml-cpp` lib's `YAML::Node` class
and it does not run our custom validators for those properties, those are done
through the `PropertyValue` class.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]