mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
[JS] Add getFullyQualifiedName() (#6119)
This optionally generates a static `getFullyQualifiedName()` function to get the fully-qualified name of a type in JavaScript and TypeScript in a similar fashion to the C++ codegen.
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
|
||||
pushd "$(dirname $0)" >/dev/null
|
||||
../flatc -b -I include_test monster_test.fbs unicode_test.json
|
||||
../flatc --js -o js --gen-mutable --no-fb-import -I include_test monster_test.fbs
|
||||
../flatc --js -o js --gen-name-strings --gen-mutable --no-fb-import -I include_test monster_test.fbs
|
||||
node JavaScriptTest ./js/monster_test_generated
|
||||
|
||||
../flatc --js -o js --no-fb-import union_vector/union_vector.fbs
|
||||
../flatc --js --gen-name-strings -o js --no-fb-import union_vector/union_vector.fbs
|
||||
node JavaScriptUnionVectorTest ./js/union_vector_generated
|
||||
node JavaScriptFlexBuffersTest
|
||||
|
||||
Reference in New Issue
Block a user