mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-25 12:48:38 +00:00
[TS] Fix getFullyQualifiedName codegen for typescript (#7730)
#7451 caused getFullyQualifiedName to return a name with underscores, not periods. Because the fully qualified name is a property of FlatBuffers, not the language being codegen'd for, it should use periods. Fixes #7564. Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
@@ -49,7 +49,7 @@ export class Vec3 {
|
||||
return (obj || new Test()).__init(this.bb_pos + 26, this.bb);
|
||||
}
|
||||
static getFullyQualifiedName() {
|
||||
return 'MyGame_Example_Vec3';
|
||||
return 'MyGame.Example.Vec3';
|
||||
}
|
||||
static sizeOf() {
|
||||
return 32;
|
||||
|
||||
Reference in New Issue
Block a user