Skip to content

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
Contributor

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?

@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
Contributor

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
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
* Fix verification for unions

* Run scripts\generate_code.py

---------

Co-authored-by: Michael Le <[email protected]>
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
* Fix verification for unions

* Run scripts\generate_code.py

---------

Co-authored-by: Michael Le <[email protected]>
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.

4 participants