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 incorrect serializing of std::optional when value is not provided #1362

Closed
wants to merge 3 commits into from

Conversation

greg7mdp
Copy link
Contributor

@greg7mdp greg7mdp commented Jul 3, 2023

resolves #1189 .

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 heifner and removed request for heifner July 3, 2023 15:16
@greg7mdp
Copy link
Contributor Author

greg7mdp commented Jul 3, 2023

Closing this PR as the fix needs to go into 3.2 first.

@greg7mdp greg7mdp closed this Jul 3, 2023
@greg7mdp greg7mdp deleted the gh-1189-test branch April 2, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant