-
Notifications
You must be signed in to change notification settings - Fork 173
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
Annotations set in constructor parameter are also enabled when inherited. #658
Labels
Comments
This was referenced Apr 2, 2023
True, |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Annotations given to
someCrazyFieldName
will not work forChildClass
if written as follows.The reason for this behavior is that the constructor of the superclass is not parsed by
Jackson
(note that in the sample, the annotation is given to the constructor arguments).About Workaround
In such cases, the annotation should be given to the getter or field.
About the planned implementation of this feature
There are many difficulties in implementing this feature, and it also causes performance degradation.
Therefore, we do not plan to implement this feature.
The details are summarized in this comment.
The text was updated successfully, but these errors were encountered: