Skip to content
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

Remove use of AliasFor and use mappers for Serde annotations #1012

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

graemerocher
Copy link
Contributor

@graemerocher graemerocher commented Jan 9, 2025

using @AliasFor adds annotations as stereotypes which causes problems right now when you have multiple annotations as the values from the stereotypes are not resolved. This resolves that by using mappers instead

  • Reproduce the bug with @Serdeable. and @JsonProperty
  • remove the use of @AliasFor and use mappers instead

@graemerocher graemerocher requested a review from dstepanov January 9, 2025 15:15
@graemerocher graemerocher merged commit 88d8b56 into 2.12.x Jan 9, 2025
18 checks passed
@graemerocher graemerocher deleted the using2 branch January 9, 2025 17:00
@graemerocher graemerocher added the type: bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants