Currently the Config objects all implement the Validateable interface. This requires that the validate() function is called before using the config, so a better way would be to create ValidatedConfig objects for each and use them as decorators.
Would require writing the validations for each config, for now only PayloadConfig and RelpConfig have implemented the validation functions.
Description
Currently the Config objects all implement the Validateable interface. This requires that the
validate()
function is called before using the config, so a better way would be to create ValidatedConfig objects for each and use them as decorators.Would require writing the validations for each config, for now only
PayloadConfig
andRelpConfig
have implemented the validation functions.