-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certain validation failures cause further injection points not to be checked #409
Comments
…f returning after a property that should not be validated is found.
…f returning after a property that should not be validated is found.
#412 Should fix this. On |
However, |
Ah, right! Forgot about the method parameter injection. I'll fix it. Thank you! |
…f returning after a property that should not be validated is found.
Actually, it should be fine. Any exception thrown in the |
This is true, and the error will be reported, but no further validation will be done. I think it would be preferable if we could report all the validation issues, rather than stopping if we hit this one. I'll make a PR for this. |
Sure. |
In
ConfigExtension.validate
, there is clearly an attempt to detect all validation issues and add each of them as a deployment problem.However, there are cases which will cause the validate method to throw an exception or return, meaning that it won't validate further injection points.
In particular:
return
getPropertyKey()
can throw an exception(line numbers based on the
mpconfig20
branch)The text was updated successfully, but these errors were encountered: