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 MQTT with Jackson #355

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Fix MQTT with Jackson #355

merged 2 commits into from
Jan 9, 2024

Conversation

timyates
Copy link
Member

@timyates timyates commented Jan 9, 2024

mqtt-core was based on serde-jackson which may be missing if the consuming project is using jackson.

This change mirrors the fix for problem-json here micronaut-projects/micronaut-problem-json#293

That is, make the serde-api and jackson annotations api dependencies of this project in place of the serde-jackson dependency.

Closes #332

mqtt-core was based on serde-jackson which may be missing if the consuming project is using jackson.

This change mirrors the fix for problem-json here micronaut-projects/micronaut-problem-json#293

That is, make the serde-api and jackson annotations api dependencies of this project in place of the serde-jackson dependency.

I have an external reproducer, but I cannot get it to fail when included in this project...

Closes #332
@timyates timyates added the type: bug Something isn't working label Jan 9, 2024
@timyates timyates added this to the 3.1.1 milestone Jan 9, 2024
@timyates timyates requested a review from sdelamo January 9, 2024 16:07
@timyates timyates self-assigned this Jan 9, 2024
@timyates
Copy link
Member Author

timyates commented Jan 9, 2024

I have added a test suite that fails if we revert the change to the mqtt-core dependencies.

I added micronaut-platform as a dependency (so we get updates), and set it to 4.1.6 to match the version of micronaut-core that is in libs.versions.toml

Copy link

sonarcloud bot commented Jan 9, 2024

Quality Gate Failed Quality Gate failed

Failed conditions

0.0% Coverage on New Code (required ≥ 70%)

See analysis details on SonarCloud

@sdelamo sdelamo merged commit 2c651c4 into 3.1.x Jan 9, 2024
20 of 21 checks passed
@sdelamo sdelamo deleted the mqtt-jackson branch January 9, 2024 16:50
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
No open projects
Status: Done
2 participants