Skip to content

Conversation

@dbaileychess
Copy link
Collaborator

When a vector field in a FlatBuffers schema has a default value of [], the generated C++ accessor will now return a pointer to a static empty vector instead of nullptr if the field is not present in the buffer.

@github-actions github-actions bot added python c++ codegen Involving generating code from schema labels Dec 19, 2025
@dbaileychess dbaileychess force-pushed the push-ookormlyvosq branch 3 times, most recently from 4c8ca14 to d2a699a Compare December 19, 2025 22:07
@dbaileychess dbaileychess merged commit 57fdd4f into master Dec 19, 2025
50 checks passed
@aardappel
Copy link
Collaborator

Nice!

@dbaileychess dbaileychess deleted the push-ookormlyvosq branch December 21, 2025 21:35
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 python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants