flatbuffers
flatbuffers copied to clipboard
Add support for fixed-size array in Javascript
Using git master on April 20, 2020 (cb4d0f72e38dfe2a15e39d8d449f7e6385300ca1) it seems fixed-size array is not supported in Javascript or Typescript. As the binary representation of the fixed-size array is equivalent of the unrolled version, I do not see any theoretical reason why there is no Javascript support, in the worst case with something like var0...varN naming. Indeed, in the use case where Flatbuffers is used to exchange data between Javascript and Rust/C++, it would be nice to be able to enjoy the fixed-size array on the Rust/C++ side.
Yup, there is no reason it can't be supported, other than that no-one has taken the time to do it. PRs welcome!
This issue is stale because it has been open 6 months with no activity. Please comment or this will be closed in 14 days.
Please do not close, it is still a useful feature to consider...
@stephanemagnenat @evanw @evolutional @krojew @bjornharrtell Is this something any of you are considering tackling any time soon?
Yes, but no idea when.
This issue is stale because it has been open 6 months with no activity. Please comment or this will be closed in 14 days.
I believe this should be reopened
There is a new PR for this feature: #7581
This issue is stale because it has been open 6 months with no activity. Please comment or label not-stale, or this will be closed in 14 days.
This seems to be fixed by the linked PR, that is merged. Closing.