You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In reviewing some validation cases there is the very common case of on Strings of:
@NotBlank @Size(max=...)
@NotBlank @Length(max=...) ... basically the same
Now although this is all good as it is per se I'm mindful of "Annotation Overload" which is that we have code with soooo many annotations that it detracts from the whole thing.
With this in mind I think its this very common case with String input in particular where I think it might be nice to support a @NotBlank(max=...) such that the common case only needs 1 annotation.