Hi
Would be handy to manage mandatory config properties, for example like that:
@Property("tenant.code", mandatory = true)
String getTenantCode();
A mandatory config property has no default value, mandatory would be false by default to stick with current state.
There would be a localized exception when trying to access the property if not defined. This avoids repeating everywhere the idiom “if null then raise exception”
Mike