AOT processing for bean validation does not consider cascaded and container element constraints #33842
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
This affects 6.1.x and later. Here's a minimal Boot app that should illustrate the problem:
Running it on the JVM will result in a start up failure as the validation fails:
Running as a native image will succeed:
Running as a native image succeeds because AOT processing does not generate any metadata for the
@Pattern
container element constraint. It's missed both because the cascade onexclude
isn't considered and because container element constraints are not considered.The text was updated successfully, but these errors were encountered: