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 incompatibility with Jackson 2.17.0-rc1 #352

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

emlun
Copy link
Member

@emlun emlun commented Mar 5, 2024

@JsonSerialize(contentConverter = ...) is incompatible with property type Optional<List<T>>, which is the detected serialization type because of the auto-detected getter, because contentConverter only descends one container level.

See: FasterXML/jackson-databind#4413 (comment)

Fixes #350.

`@JsonSerialize(contentConverter = ...)` is incompatible with property
type `Optional<List<T>>`, which is the detected serialization type
because of the auto-detected getter, because `contentConverter` only
descends one container level.

See: FasterXML/jackson-databind#4413 (comment)
@emlun emlun linked an issue Mar 5, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Mar 5, 2024

Test Results

1 241 tests  ±0   1 237 ✅ ±0   46s ⏱️ -15s
   42 suites ±0       4 💤 ±0 
   43 files   ±0       0 ❌ ±0 
    1 errors

For more details on these parsing errors, see this check.

Results for commit c5a18af. ± Comparison against base commit eb37b61.

@emlun emlun merged commit c5a18af into release-2.5 Mar 5, 2024
19 of 20 checks passed
@emlun emlun deleted the fix-jackson-incompatibility branch March 5, 2024 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Known issue: incompatibility with Jackson 2.17.0-rc1
1 participant