Skip to content

add empty gravestone values for Sample, Reply, ReplyError, Query and Hello #1571

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

Merged
merged 2 commits into from
Feb 15, 2025

Conversation

DenisBiryukov91
Copy link
Contributor

@DenisBiryukov91 DenisBiryukov91 commented Oct 29, 2024

add empty gravestone values for Sample, Reply, ReplyError, Query and Hello - required to support move operations in C++

Copy link

PR missing one of the required labels: {'breaking-change', 'new feature', 'dependencies', 'documentation', 'bug', 'enhancement', 'internal'}

@DenisBiryukov91 DenisBiryukov91 added the internal Changes not included in the changelog label Oct 29, 2024
@DenisBiryukov91 DenisBiryukov91 marked this pull request as draft October 29, 2024 17:07
@DenisBiryukov91 DenisBiryukov91 changed the title add empty gravestone values for Sample, Reply, Query and Hello add empty gravestone values for Sample, Reply, ReplyError, Query and Hello Oct 30, 2024
@Mallets
Copy link
Member

Mallets commented Nov 28, 2024

@DenisBiryukov91 is this PR still valid or should we close it?

@DenisBiryukov91
Copy link
Contributor Author

@Mallets. Yes it is still valid, although the related task to provide functionality to move out of loaned types in zenoh-c and make std::move in c++ work more closely to how users would expect, has quite low priority.

@milyin milyin marked this pull request as ready for review February 15, 2025 11:34
Copy link
Contributor

@milyin milyin left a comment

Choose a reason for hiding this comment

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

The approach for Query can be changed (better to have real empty state, but this will require too much rework of other code), but this variant is ok.
The goal of this update is to provide "dummy" states for zenoh-c "take from loaned mut" operation - see PR eclipse-zenoh/zenoh-c#718

@milyin milyin merged commit 7cd26f6 into eclipse-zenoh:main Feb 15, 2025
13 checks passed
milyin added a commit that referenced this pull request Feb 15, 2025
* followup to #1571: reliablity, sourceinfo to unstable

* typo fix to pass CI
milyin added a commit that referenced this pull request Feb 15, 2025
* followup to #1571: reliablity, sourceinfo to unstable

* typo fix to pass CI

* compilation fix
mmusselman-crl pushed a commit to jmonticelli/zenoh that referenced this pull request Apr 30, 2025
…Hello (eclipse-zenoh#1571)

* add empty gravestone values for Sample, Reply, Query and Hello

* add empty gravestone value for ReplyErr
mmusselman-crl pushed a commit to jmonticelli/zenoh that referenced this pull request Apr 30, 2025
…enoh#1775)

* followup to eclipse-zenoh#1571: reliablity, sourceinfo to unstable

* typo fix to pass CI
mmusselman-crl pushed a commit to jmonticelli/zenoh that referenced this pull request Apr 30, 2025
* followup to eclipse-zenoh#1571: reliablity, sourceinfo to unstable

* typo fix to pass CI

* compilation fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes not included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants