diff options
author | tira-misu <gunter.burchardt@boschrexroth.de> | 2022-03-24 05:40:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 21:40:11 -0700 |
commit | 2ad408697f282b20dcb214f826b11cf12b4e5c82 (patch) | |
tree | 4683dbc79b8d6b0e4edaba790ac5a3fac180109a /tests/monster_test.fbs | |
parent | 4213d91054afa9ea1e610b790347a08eaab49094 (diff) | |
download | flatbuffers-2ad408697f282b20dcb214f826b11cf12b4e5c82.tar.gz flatbuffers-2ad408697f282b20dcb214f826b11cf12b4e5c82.tar.bz2 flatbuffers-2ad408697f282b20dcb214f826b11cf12b4e5c82.zip |
[TS] Fix generation of struct members in object api (#7148)
* Fix C/C++ Create<Type>Direct with sorted vectors
If a struct has a key the vector has to be sorted. To sort the vector
you can't use "const".
* Changes due to code review
* Improve code readability
* Add generate of JSON schema to string to lib
* option indent_step is supported
* Remove unused variables
* Fix break in test
* Fix style to be consistent with rest of the code
* [TS] Fix reserved words as arguments (#6955)
* [TS] Fix generation of reserved words in object api (#7106)
* [TS] Fix generation of object api
* [TS] Fix MakeCamel -> ConvertCase
* [TS] Add test for struct of struct of struct
* Update generated files
* Add missing files
* [TS] Fix query of null/undefined fields in object api
Diffstat (limited to 'tests/monster_test.fbs')
-rw-r--r-- | tests/monster_test.fbs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/monster_test.fbs b/tests/monster_test.fbs index b28ddc85..14d34cb4 100644 --- a/tests/monster_test.fbs +++ b/tests/monster_test.fbs @@ -70,6 +70,10 @@ struct StructOfStructs { c: Ability; } +struct StructOfStructsOfStructs { + a: StructOfStructs; +} + table Stat { id:string; val:long; |