-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[TS] --gen-all forgets to generate tables from non-leaf files #6739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@bjornharrtell any idea? |
Agreed seems like bugs / untested cases. Will try to look into it when back from vacation. 🙂 |
This issue is stale because it has been open 6 months with no activity. Please comment or this will be closed in 14 days. |
Any update on that issue? |
Sorry nope. I have no current plans to work on it myself, unfortunately. |
I think this is fixed now. |
This is not fixed, you'll find a minimal test case here (tested with flatc 22.11.22): You'll noticed that Plus there is now bug #7661 in addition. @dbaileychess please re-open this bug. |
Using Flatc version 2.0.0 (on Ubuntu 20.04), using the following files as a minimal test case:
all.fbs
game.fbs
math.fbs
and generating using:
flatc -o src --ts --gen-all ./all.fbs
,the resulting file
src/all.ts
exports tableVector2
but notGame
:I assume this is a bug.
Probably unrelated, but if I generate to an absolute directory such as
/tmp/fb
:flatc -o /tmp/fb --ts --gen-all ./all.fbs
,all.ts
is not generated at all!The text was updated successfully, but these errors were encountered: