@Valid and nested objects

Description

Why we need to put `@Valid` annotation on class properties and properties of property?

Can this be added automatically? So, no need to put `@Valid` on every property that is a class or list.

Related issue https://github.com/micronaut-projects/micronaut-core/issues/1457

Environment

None

Assignee

Unassigned

Reporter

Alex Rust

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Priority

Major
Configure