-
Notifications
You must be signed in to change notification settings - Fork 176
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
fix: remove specific encoding constants related to serialization #1513
Conversation
PR missing one of the required labels: {'documentation', 'bug', 'dependencies', 'internal', 'new feature', 'breaking-change', 'enhancement'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for me. I did similar PR (#1512), I think they can be combined in the following way:
- explicitly say that
ZENOH_BYTES
andZENOH_STRING
corresponds toto_bytes()
andtry_to_string()
methods - reference zenoh-ext in
ZENOH_SERIALIZATION
- remove
ZENOH_ERROR
- it doesn't make sense at all. TheReplyError
type contains encoding field whcih is set to data packet, this leaves no place to special encoding forReplyError
- (questionable) avoid full renumbering of encoding ids and keep the range 0..15 for possible future
ZENOH_*
encodings
Encoding is neither mandatory nor automatic, so I don't see why we would assign an encoding to a method of
If you say so
Questionable indeed. Honestly, I want to remove all |
The
I'm against removing Also no renumbering - less potential data conversion problems |
replaced with #1512 |
fixes #1507