Skip to content
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 missing reset when deserializing std::optional if serialized value is empty #335

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

linh2931
Copy link
Member

Change Description

Fixes the issue that the target is not reset if the source does not have a value. The issue will cause mismatch of source and target if the target already has a value, as that value will be kept.

Resolves #334.

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@linh2931 linh2931 merged commit f3380fa into main Jan 16, 2025
7 checks passed
@linh2931 linh2931 deleted the fix_deserialize branch January 16, 2025 13:16
@ericpassmore
Copy link
Contributor

Note:start
category: System Stability
component: Internal
summary: Fix missing reset when deserializing std::optional if serialized value is empty.
Note:end

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.

datastream deserialization does not clear destination when deserialized std::optional is empty
4 participants