flatbuffers/goldens
Derek Bailey 0100f6a577
FlatBuffers Version 23.5.26 (#7976)
2023-05-26 10:33:09 -07:00
..
cpp FlatBuffers Version 23.5.9 (#7945) 2023-05-09 09:33:30 -07:00
csharp FlatBuffers Version 23.5.26 (#7976) 2023-05-26 10:33:09 -07:00
dart add rest of golden language directories 2023-05-05 14:15:48 -07:00
go add rest of golden language directories 2023-05-05 14:15:48 -07:00
java FlatBuffers Version 23.5.26 (#7976) 2023-05-26 10:33:09 -07:00
kotlin FlatBuffers Version 23.5.26 (#7976) 2023-05-26 10:33:09 -07:00
lobster add rest of golden language directories 2023-05-05 14:15:48 -07:00
lua fixed bfbs gen to pass extra options (#7949) 2023-05-09 22:42:31 -07:00
nim fixed bfbs gen to pass extra options (#7949) 2023-05-09 22:42:31 -07:00
php add rest of golden language directories 2023-05-05 14:15:48 -07:00
py add rest of golden language directories 2023-05-05 14:15:48 -07:00
rust add rest of golden language directories 2023-05-05 14:15:48 -07:00
schema Add goldens directory 2023-05-05 13:43:07 -07:00
swift FlatBuffers Version 23.5.26 (#7976) 2023-05-26 10:33:09 -07:00
ts add rest of golden language directories 2023-05-05 14:15:48 -07:00
README.md Add goldens directory 2023-05-05 13:43:07 -07:00
generate_goldens.py fixed bfbs gen to pass extra options (#7949) 2023-05-09 22:42:31 -07:00
golden_utils.py Add goldens directory 2023-05-05 13:43:07 -07:00

README.md

Golden Generated Files

This directory is a repository for the generated files of flatc.

We check in the generated code so we can see, during a PR review, how the changes affect the generated output. Its also useful as a reference to point too as how things work across various languages.

These files are NOT intended to be depended on by any code, such as tests or or compiled examples.

Languages Specifics

Each language should keep their generated code in their respective directories. However, the parent schemas can, and should, be shared so we have a consistent view of things across languages. These are kept in the schema/ directory.

Some languages may not support every generation feature, so each language is required to specify the flatc arguments individually.

  • Try to avoid includes and nested directories, preferring it as flat as possible.

Updating

Just run the generate_goldens.py script and it should generate them all.