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 verification for C# unions #7970

Merged
merged 9 commits into from Oct 1, 2023

Conversation

CurtHagenlocher
Copy link
Contributor

The current compiler produces incorrect code (see #7899) for verifying unions when the object API isn't generated. This fixes that.

Also fixes the C# Desktop framework project to build and run correctly.

@google-cla
Copy link

google-cla bot commented May 20, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot added c# c++ codegen Involving generating code from schema labels May 20, 2023
@github-actions
Copy link

github-actions bot commented Jul 7, 2023

This pull request is stale because it has been open 3 weeks with no activity. Please comment or label not-stale, or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Jul 7, 2023
@CurtHagenlocher CurtHagenlocher changed the title Fix verification for unions Fix verification for C# unions Jul 15, 2023
@github-actions github-actions bot removed the stale label Jul 15, 2023
@monolith-jaehoon
Copy link

Hi, there. I think that valid commits for this issue are only aab9617 and e9ac4f8, right?

monolith-jaehoon added a commit to monolith-jaehoon/flatbuffers that referenced this pull request Jul 17, 2023
@CurtHagenlocher
Copy link
Contributor Author

Yes, that's right. The other commits were just porting changes from the main branch.

@sykhro
Copy link

sykhro commented Sep 8, 2023

Any updates on this?

@le-michael
Copy link
Collaborator

Thanks for the fix. Seems like something the CI should have caught...

@le-michael le-michael merged commit f4e23bf into google:master Oct 1, 2023
49 checks passed
candysonya pushed a commit to candysonya/flatbuffers that referenced this pull request Jan 8, 2024
* Fix verification for unions

* Run scripts\generate_code.py

---------

Co-authored-by: Michael Le <michael.le647@gmail.com>
candysonya pushed a commit to candysonya/flatbuffers that referenced this pull request Jan 21, 2024
* Fix verification for unions

* Run scripts\generate_code.py

---------

Co-authored-by: Michael Le <michael.le647@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c# c++ codegen Involving generating code from schema
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants