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: improve publishing structs #18171

Merged
merged 1 commit into from
Jan 11, 2025
Merged

Mqtt: improve publishing structs #18171

merged 1 commit into from
Jan 11, 2025

Conversation

andig
Copy link
Member

@andig andig commented Jan 11, 2025

Follow-up to #17943

This PR removes struct fields marked as omitempty from mqtt if their value is empty. This mirrors the behaviour in the JSON api.

@andig andig added the infrastructure Basic functionality label Jan 11, 2025
@andig andig merged commit 36f0005 into master Jan 11, 2025
6 checks passed
@andig andig deleted the fix/publishing branch January 11, 2025 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Basic functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant