Updating id generation logic to avoid substring overlaps (#21181)

This commit is contained in:
Aasim Khan
2022-11-09 15:40:20 -08:00
committed by GitHub
parent d65ba42334
commit 298cc4676b

View File

@@ -14,7 +14,7 @@ export class IdGenerator {
}
public nextId(): string {
return this._prefix + (++this._lastId);
return this._prefix + (++this._lastId) + '-id';
}
}