Github user arpadboda commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/453
  
    Overview:
    -Please read tests first. They should give an idea of the motivation of the 
change
    -This is POF, some parts of the code might leave space for improvement, 
some are not yet implemented.
    
    Pros of suggested solution:
    -Fully backward-compatible, no change required in processors. 
    -All property types can be assigned to Property (string property) without 
loosing the validator.
    -Values are still stored in string, so no change in overhead of getter
    -Easily extendable with further validators,  properties
    -Validators can provide data in any format for server-side validation, no 
duplication of data
    
    Cons:
    -Templates, templates, templates everywhere... Added some static asserts to 
help development with meaningful error messages. 


---

Reply via email to