We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
QueryOutputDir
QueryEvaluationInfo
1 parent 1acf312 commit 5251f06Copy full SHA for 5251f06
1 file changed
extensions/ql-vscode/src/run-queries-shared.ts
@@ -124,6 +124,12 @@ export class QueryOutputDir {
124
}
125
126
export class QueryEvaluationInfo extends QueryOutputDir {
127
+ // We extend `QueryOutputDir`, rather than having it as a property, because we need
128
+ // `QueryOutputDir`'s `querySaveDir` property to be a property of `QueryEvaluationInfo`. This is
129
+ // because `QueryEvaluationInfo` is serialized directly as JSON, and before we hoisted
130
+ // `QueryOutputDir` out into a base class, `querySaveDir` was a property on `QueryEvaluationInfo`
131
+ // itself.
132
+
133
/**
134
* Note that in the {@link readQueryHistoryFromFile} method, we create a QueryEvaluationInfo instance
135
* by explicitly setting the prototype in order to avoid calling this constructor.
0 commit comments