You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by arpadboda <gi...@git.apache.org> on 2018/11/29 12:42:14 UTC

[GitHub] nifi-minifi-cpp issue #453: POF: static property improvements

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. 


---