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
{{ message }}
Repository navigation
Commit 150d6d7
Browse filesBrowse the repository at this point in the historyBrowse files
fix: stop adding topic and retain when writing an MQTT lastWill
LastWill wrote `topic` with WriteRequiredProperty and `retain` from a
non-nullable bool, so reading `lastWill: { qos: 1 }` and writing it back
produced `topic:` (null) and `retain: false`. Both fields are optional in
the MQTT binding spec.
`retain` now has a nullable backing field (same pattern as
MQTTOperationBinding), and both fields are written only when set. The
public `Retain` property keeps its bool type, so this is not a breaking
API change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments