-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jakarta Validation @Valid annotation is not treated as a type-annotation #2334
Comments
Hm, this is probably more generic and should cover all (relevant) Validation annotations such as Pattern, Size,... What is the thinking on this? Would that be OK? |
Sure, adding whatever annotations you need is fine with me. Any objections from you @mernst? |
I agree to add annotations supported by well-known tools. Thanks! |
Thanks, will do. Probably this weekend. |
Got a few moments to complete it now. Cheers! |
Released in |
Using Gradle spotless 7.0.0.BETA4 I see wrong handling of formatAnnotations for code like this:
Since Jakarta Validation @Valid is annotated with TYPE_USE, it should be changed to:
I will open a PR shortly fixing this.
The text was updated successfully, but these errors were encountered: