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

Mqtt, MqttBroker & Runtime services should be decoding/encoding the same way as WebGui #1290

Open
supertick opened this issue May 28, 2023 · 1 comment

Comments

@supertick
Copy link
Contributor

Describe the bug
All gateway services should be decoding and encoding messages in the same way

To Reproduce
WebGui uses meta data to map complex parameters in CodecUtils.fromJson(bodyData, Object[].class);
Mqtt, MqttBroker & Runtime use MethodCache.getDecodedJsonParameters which is not explicit, and must "guess" on overloaded complex types

@AutonomicPerfectionist
Copy link
Contributor

They should all be switched to using CodecUtils.jsonToMessage()

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

No branches or pull requests

2 participants