mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-15 00:38:52 +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:
@@ -69,7 +69,7 @@ export class Enum {
|
||||
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
||||
}
|
||||
static getFullyQualifiedName() {
|
||||
return 'reflection_Enum';
|
||||
return 'reflection.Enum';
|
||||
}
|
||||
static startEnum(builder) {
|
||||
builder.startObject(7);
|
||||
|
||||
Reference in New Issue
Block a user