mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-05 06:07:05 +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:
@@ -23,7 +23,7 @@ static getSizePrefixedRootAsInParentNamespace(bb:flatbuffers.ByteBuffer, obj?:In
|
||||
}
|
||||
|
||||
static getFullyQualifiedName():string {
|
||||
return 'MyGame_InParentNamespace';
|
||||
return 'MyGame.InParentNamespace';
|
||||
}
|
||||
|
||||
static startInParentNamespace(builder:flatbuffers.Builder) {
|
||||
|
||||
Reference in New Issue
Block a user