mattcasters commented on issue #6972: URL: https://github.com/apache/hop/issues/6972#issuecomment-4213662702
I don't mind having feature requests for not serializing empty values or for adding default values to the properties. It could be a String as default, even if it's not a String data type since you can consider it to be the value from the XML element. Still, I think it's easier to just to add the default values to the class constructor, especially if you're not serializing empties. Perhaps, in the larger scheme, looking at YAML and other formats, it might be easier to allow for class to be specified to determine whether or not a property should be serialized or considered "empty". So you could have a default implementation of that which tests if the object is null or an empty string, plus checks some global configuration option. For value lengths you can make one that tests `==-1`. -- 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]
