flatbuffers/goldens
Derek Bailey 595bf0007a FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
..
cpp FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
csharp FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
dart update goldens with namespace 2023-11-19 07:51:36 +00:00
go update goldens with namespace 2023-11-19 07:51:36 +00:00
java FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
kotlin FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
lobster update goldens with namespace 2023-11-19 07:51:36 +00:00
lua update goldens with namespace 2023-11-19 07:51:36 +00:00
nim update goldens with namespace 2023-11-19 07:51:36 +00:00
php update goldens with namespace 2023-11-19 07:51:36 +00:00
py FlatBuffers Version v24.3.7 2024-03-07 15:16:33 -08:00
rust update goldens with namespace 2023-11-19 07:51:36 +00:00
schema update goldens with namespace 2023-11-19 07:51:36 +00:00
swift FlatBuffers Version v24.3.25 2024-03-26 05:18:07 +00:00
ts update goldens with namespace 2023-11-19 07:51:36 +00: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.