google / flatbuffers

FlatBuffers: Memory Efficient Serialization Library
https://flatbuffers.dev/
Apache License 2.0
23.24k stars 3.24k forks source link

FR: Make Union Base Types specifiable #6796

Open krojew opened 3 years ago

krojew commented 3 years ago

Union discriminator (at least in Java) map to a single byte, which begins to be problematic when the number of messages exceeds the maximum range.,

aardappel commented 3 years ago

Yup, that holds in all languages, and is known problem.

It is hard to fix though, given the amount of code that assumes it's a byte.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 6 months with no activity. Please comment or this will be closed in 14 days.