Skip to content

fix: outgoingStream when no value is present for a key#126

Merged
robertsLando merged 2 commits into
moscajs:masterfrom
seriousme:fix-outgoing-key-without-value
Oct 1, 2025
Merged

fix: outgoingStream when no value is present for a key#126
robertsLando merged 2 commits into
moscajs:masterfrom
seriousme:fix-outgoing-key-without-value

Conversation

@seriousme

Copy link
Copy Markdown
Contributor

This PR fixes moscajs/aedes#1051 it also adds a test to avoid regressions.

Kind regards,
Hans

@seriousme

Copy link
Copy Markdown
Contributor Author

BTW: I think that a similar issue could occur within createWillStream that also uses getDecodedValue()

@seriousme

Copy link
Copy Markdown
Contributor Author

BTW: I think that a similar issue could occur within createWillStream that also uses getDecodedValue()

Second commit fixes that as well and adds a test for it to avoid future regressions.

Kind regards,
Hans

@robertsLando robertsLando left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robertsLando robertsLando changed the title fix: fix outgoingStream when no value is present for a key fix: outgoingStream when no value is present for a key Oct 1, 2025
@robertsLando robertsLando merged commit dfd8ad0 into moscajs:master Oct 1, 2025
3 checks passed
@seriousme seriousme deleted the fix-outgoing-key-without-value branch October 1, 2025 15:22
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

Successfully merging this pull request may close these issues.

[bug] QoSPacket constructor raised errors due to undefined packets from aedes-persistence-redis outgoingStream

2 participants