Validator configDiscovery.validate
is returning data instead of if data is valid or not
#385
Labels
configDiscovery.validate
is returning data instead of if data is valid or not
#385
Right now the configuration validator is returning the configuration data if data is valid. This is not validator responsability.
validate() should be void (return nothing if success, throw error if invalid) or a boolean if valid (in that case name should be
isValid
).The text was updated successfully, but these errors were encountered: