| I propose to add the @CodePointLength that validate the code point length of character sequence is between min and max. In my application, the surrogate pair character must be counted as one length, Therefore I need to add the custom constraint (The @Size or @Length cannot use because these are counted it as two lengths character) I think it is very generally constraint. Could you support this constraint on Hibernate Validator? |