Java Bean method validation not working for Nested class @NotBlank with Immutables

Description

I have a POJO like below:

And I have written a validator like this:

 

When I pass the following Object of Customer in validate method above,

 

in object and group as `Address.class`

I feel like it should return a violation as details field is empty and I marked it as NotBlank. But it does not fail. Any idea what I am doing wrong?

Environment

None

Assignee

Unassigned

Reporter

shubham jain

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Major
Configure