flatbuffers/goldens
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
go
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
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
py
rust
schema
swift FlatBuffers Version 23.5.26 (#7976) 2023-05-26 10:33:09 -07:00
ts
generate_goldens.py fixed bfbs gen to pass extra options (#7949) 2023-05-09 22:42:31 -07:00
golden_utils.py
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.