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

Add pointer reference to sibling union field on FieldDef #7755

Merged
merged 3 commits into from Jan 5, 2023

Conversation

paulovap
Copy link
Collaborator

@paulovap paulovap commented Jan 4, 2023

To make it simple to map between a union field and its union type field we are adding a pointer to FieldDef to point to each other. For all other types the pointer will be nullptr.

To make it simple to map between a union field and its union type
field we are adding a pointer to FieldDef to point to each other. For
all other types the pointer will be nullptr.
@github-actions github-actions bot added c++ codegen Involving generating code from schema labels Jan 4, 2023
@dbaileychess dbaileychess merged commit a809a2d into google:master Jan 5, 2023
sunwen18 pushed a commit to sunwen18/flatbuffers that referenced this pull request Jan 9, 2023
To make it simple to map between a union field and its union type
field we are adding a pointer to FieldDef to point to each other. For
all other types the pointer will be nullptr.

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

Successfully merging this pull request may close these issues.

None yet

3 participants