markap14 commented on PR #8102:
URL: https://github.com/apache/nifi/pull/8102#issuecomment-1841666326

   My preference is to keep the name `defaultValue` and add the override. I 
would avoid allowing for a `defaultValue` that accepts an `Object`. While this 
could be a change that breaks backward compatibility for a few, I think it's a 
pretty niche concern and still fair game for a 2.0, as long as it's mentioned 
in the Migration Guide. Also of note, custom code could be updated to use 
`.defaultValue( (String) null )` even in 1.x so there would be no need to 
maintain two different versions of the code, etc. So I think it's fair game.


-- 
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]

Reply via email to