Fix TS object API generation of schema containing array of enumeration having no zero default (#8832)

* set the array constructor to fill with minvalue

* add regression generation test
This commit is contained in:
Justin Davis
2025-12-07 07:35:38 -05:00
committed by GitHub
parent 89430a14d6
commit 7711e84919
3 changed files with 27 additions and 5 deletions

View File

@@ -94,6 +94,11 @@ flatc(
data="../unicode_test.json",
)
flatc(
options=["--ts", "--gen-object-api"],
schema="../non_zero_enum.fbs",
)
flatc(
options=[
"--ts",