konf
konf copied to clipboard
validateRequired enhancements
-
config.validateRequired()
does not check for empty values only nulls - the throw UnsetValueException holds only item
name
, does not telling which exact item is not set.
For instance if you have a configuration like this:
host:
url:
port:
database:
url:
port:
UnsetValueException will for instance throw "item url not set", better would be "host.url not set"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed.