You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This also applies when using the io.micronaut.mqtt:micronaut-mqttv3 dependency. Builds are broken for clients that use micronaut-jackson-databind instead of micronaut-serde. Only when excluding the transitive micronaut-serde-jackson dependency does it work.
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
* Fix MQTT with Jackson
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
* Add tests
Expected Behavior
micronaut-serde should not be used at all, since I already have jackson-databind in use
This is the same problem as micronaut-projects/micronaut-problem-json#257
It can be fixed by adding the following to the
build.gradle.kts
Actual Behaviour
The error "No deserializable introspection present for type:" is thrown as soon as anything in the project tries to serialize or deserialize json.
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
4.0.5
The text was updated successfully, but these errors were encountered: