diff --git a/typescript/src/schema/proto.ts b/typescript/src/schema/proto.ts index 230aa9eac..ffed121a1 100644 --- a/typescript/src/schema/proto.ts +++ b/typescript/src/schema/proto.ts @@ -107,6 +107,9 @@ export class RetryableCodeMap { const uniqueName = sortedCodes .map(code => this.codeEnumMapping[code]) .join('_') + // toSnakeCase() splits on uppercase and we only want to split on + // underscores since all enum codes are uppercase. + .toLowerCase() .toSnakeCase(); return uniqueName; }