Open mswatosh opened 5 months ago
Jakarta Validation annotations should be checked on declared fields in a Java Record.
For example, the following should report a diagnostic indicating that @AssertTrue is only valid on Boolean types.
@AssertTrue
public record TestEntity(@AssertTrue String name) {}
Jakarta Validation 3.1
Select all that apply
This should be added for Jakarta EE 11
Description:
Jakarta Validation annotations should be checked on declared fields in a Java Record.
For example, the following should report a diagnostic indicating that
@AssertTrue
is only valid on Boolean types.Specification:
Jakarta Validation 3.1
Type of language feature proposed:
Select all that apply