[ 
https://issues.apache.org/jira/browse/MINIFICPP-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi resolved MINIFICPP-2599.
--------------------------------------
    Fix Version/s: 1.0.0
       Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 1.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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