We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 083ba23 commit f9d9736Copy full SHA for f9d9736
src/connection/sqlJob.ts
@@ -73,7 +73,12 @@ export class OldSQLJob extends SQLJob {
73
outString = ``;
74
if (this.isTracingChannelData) ServerComponent.writeOutput(thisMsg);
75
try {
76
- let response: ServerResponse = JSON.parse(thisMsg);
+ let response: ServerResponse = JSON.parse(thisMsg, (_key, value, context) => {
77
+ if (typeof value === 'number' && ('' + value !== context.source)) {
78
+ return context.source;
79
+ }
80
+ return value;
81
+ });
82
this.responseEmitter.emit(response.id, response);
83
} catch (e: any) {
84
console.log(`Error: ` + e);
0 commit comments