-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[TS/JS] Allow --ts-flat-files
and --gen-all
to work in combination
#7445
Comments
@jkuszmaul Is this the expected out in this case? |
@dbaileychess Yep. The main ambiguity is (I think) how to manage similarly named objects in different namespaces. I think the current
Then you have two objects named
|
Thanks for the hint about namespacing. Is |
Ok, I am going to worry about the namespace aliasing in another issue, as I don't want to conflate the two. |
I don't have strong feelings about the actual naming style. For consistency with how the non- flatbuffers/tests/monster_test.ts Lines 1 to 7 in 2ad4086
The quibble I have with that approach is that it is not obvious to the user which name is likely to end up prefixed and which will show up cleanly. |
And any discussion of how to manage these conflicts should go along with whatever #7448 does. I'm also realizing that it would also be entirely consistent with the goals of both of the flags to have |
Currently these two flags cannot be used at the same time.
My idea is, for a given relationship:
foo.fbs
a single
foo_generated.ts
is produced thatThe text was updated successfully, but these errors were encountered: