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

Fix bug "always true" condition. #3162

Closed
wants to merge 1 commit into from
Closed

Fix bug "always true" condition. #3162

wants to merge 1 commit into from

Conversation

amatskevich
Copy link

jasonSerialize.as() never return null according API. So there is replacing correct JavaType class to java.lang.Void in case missed parameter "as". As result I've got empty body of example on UI.
See, https://static.javadoc.io/com.fasterxml.jackson.core/jackson-databind/2.9.8/com/fasterxml/jackson/databind/annotation/JsonSerialize.html#as--

jasonSerialize.as() never return null according API. So there is replacing correct JavaType class to java.lang.Void in case missed parameter "as". As result I've got empty body of example on UI.
See, https://static.javadoc.io/com.fasterxml.jackson.core/jackson-databind/2.9.8/com/fasterxml/jackson/databind/annotation/JsonSerialize.html#as--
frantuma added a commit that referenced this pull request Jan 26, 2024
frantuma added a commit that referenced this pull request Jan 26, 2024
@frantuma
Copy link
Member

replaced by #4603

@frantuma frantuma closed this Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants