Ferenc Gerlits created MINIFICPP-2599:
-----------------------------------------

             Summary: parseOptionalControllerService should throw on type 
mismatch
                 Key: MINIFICPP-2599
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2599
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Ferenc Gerlits
            Assignee: Ferenc Gerlits


Other {{parseOptional...Property}} functions throw if the property value is 
invalid (e.g "maybe" for a bool value), but {{parseOptionalControllerService}} 
returns a nullopt whether the property is missing or invalid.

{{parseOptionalControllerService}} should throw when the property is invalid, 
and return a null pointer when the property is unset or blank.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to