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

[3.2 -> 4.0] Fix incorrect serializing of std::optional when value is not provided - (GH #1189) #1373

Merged
merged 10 commits into from
Jul 5, 2023

Conversation

greg7mdp
Copy link
Contributor

@greg7mdp greg7mdp commented Jul 5, 2023

When serializing a std::optional field, and a value is not provided for the std::optional, we need to add into the serialization the flag specifying that a missing value is serialized. Prior to this PR, the flag was missing.

@greg7mdp greg7mdp requested review from linh2931 and heifner July 5, 2023 17:13
@greg7mdp greg7mdp merged commit 85c58ad into release/4.0 Jul 5, 2023
16 checks passed
@greg7mdp greg7mdp deleted the gh-1189-4.0 branch July 5, 2023 17:30
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.

3 participants