mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-19 16:15:43 +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:
@@ -56,7 +56,7 @@ export class EnumVal {
|
||||
return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
|
||||
}
|
||||
static getFullyQualifiedName() {
|
||||
return 'reflection_EnumVal';
|
||||
return 'reflection.EnumVal';
|
||||
}
|
||||
static startEnumVal(builder) {
|
||||
builder.startObject(6);
|
||||
|
||||
Reference in New Issue
Block a user