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

[C++] Fix field precedence check issue #1031. #1033

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

ZachBray
Copy link
Contributor

There were a couple of problems here:

  1. "wrapping constructors" did not initialize the codec state (for precedence checks) correctly, and
  2. the methods returning a JSON encoded string would attempt to transition twice.

These problems are now resolved.

I have also made a technically breaking change. I have removed an unnecessary constructor that took in the codec state. I think it is highly unlikely that anyone was using this constructor; therefore, it should be okay to make the change.

There were a couple of problems here:

1. "wrapping constructors" did not initialize the codec state (for
precedence checks) correctly, and
2. the methods returning a JSON encoded string would attempt to
transition twice.

These problems are now resolved.

I have also made a technically breaking change. I have removed an
unnecessary constructor that took in the codec state. I think it is
highly unlikely that anyone was using this constructor; therefore,
it should be okay to make the change.
@vyazelenko vyazelenko merged commit 0c48ee3 into master Dec 11, 2024
35 checks passed
@ZachBray ZachBray deleted the bugfix/precedence-checks-1031 branch January 6, 2025 17:23
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.

2 participants