Skip to content

Supporting Jackson3 DaprObjectSerializer#1657

Open
salaboy wants to merge 3 commits intodapr:masterfrom
salaboy:jackson3
Open

Supporting Jackson3 DaprObjectSerializer#1657
salaboy wants to merge 3 commits intodapr:masterfrom
salaboy:jackson3

Conversation

@salaboy
Copy link
Collaborator

@salaboy salaboy commented Feb 16, 2026

Description

This PR includes some reorganisation to support custom Spring Boot 4.x auto configuration.
The intended result is to have DaprClientBuilder using Jackson3 customise JSONMapper to create an instance of the ObjectMapper.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1647

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@salaboy salaboy requested review from a team as code owners February 16, 2026 12:14
Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
@codecov
Copy link

codecov bot commented Feb 17, 2026

Codecov Report

❌ Patch coverage is 28.00000% with 72 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.35%. Comparing base (3ae043b) to head (c5a3326).

Files with missing lines Patch % Lines
...nfigure/client/DaprClientSB4AutoConfiguration.java 0.00% 50 Missing ⚠️
...autoconfigure/client/Jackson3ObjectSerializer.java 54.16% 18 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1657      +/-   ##
============================================
- Coverage     79.26%   78.35%   -0.92%     
- Complexity     2146     2158      +12     
============================================
  Files           234      237       +3     
  Lines          6464     6564     +100     
  Branches        700      726      +26     
============================================
+ Hits           5124     5143      +19     
- Misses          987     1065      +78     
- Partials        353      356       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Support Jackson3 with Spring Boot 4.x when using DefaultObjectSerializer

1 participant