Skip to content

add any all when port is 0 in unicast topics#206

Merged
jamesmunns merged 1 commit into
jamesmunns:mainfrom
tommasoclini:unicast_no_port_fix
Jun 6, 2026
Merged

add any all when port is 0 in unicast topics#206
jamesmunns merged 1 commit into
jamesmunns:mainfrom
tommasoclini:unicast_no_port_fix

Conversation

@tommasoclini
Copy link
Copy Markdown
Collaborator

Up until now unicast messages with port set to 0 were not sent with any_all.

any_all: None,
any_all: (dest.port_id == 0).then(|| AnyAllAppendix {
key: Key(T::TOPIC_KEY.to_bytes()),
nash: None,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

We might want to have a name as an optional parameter, however endpoints do it

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I could do that but it would break existing applications I guess

@jamesmunns jamesmunns merged commit 1c46830 into jamesmunns:main Jun 6, 2026
13 checks passed
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.

2 participants