-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the Micrometer MP Metrics annotation transformation
The annotation transformation replaces an existing annotation with a new one without paying attention to the annotation's target. That's usually OK, because the `TransformationContext` typically contains the correct target, but that isn't true for method parameter annotations. For legacy reasons, the annotation transformation API treats them as annotations on methods, so we need to pay extra attention to preserve the annotation target. This commit does that.
- Loading branch information
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters