We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f83e830 commit efc48edCopy full SHA for efc48ed
1 file changed
packages/microservices/helpers/kafka-parser.ts
@@ -9,7 +9,7 @@ export class KafkaParser {
9
}
10
11
public parse<T = any>(data: any): T {
12
- // Duplicate the object to not modify the original one (would break KafkaJS retries)
+ // Clone object to as modifying the original one would break KafkaJS retries
13
const result = {
14
...data,
15
headers: { ...data.headers },
0 commit comments