Pass computeDefaultStrings to query server when compiling queries
This commit is contained in:
@@ -150,6 +150,11 @@ export interface CompilationOptions {
|
||||
* Whether to disable toString values in the results.
|
||||
*/
|
||||
noComputeToString: boolean;
|
||||
/**
|
||||
* Whether to ensure that elements that do not have a displayString
|
||||
* get reported anyway. Useful for universal compilation options.
|
||||
*/
|
||||
computeDefaultStrings: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -138,6 +138,7 @@ export class QueryInfo {
|
||||
localChecking: false,
|
||||
noComputeGetUrl: false,
|
||||
noComputeToString: false,
|
||||
computeDefaultStrings: true
|
||||
},
|
||||
extraOptions: {
|
||||
timeoutSecs: qs.config.timeoutSecs
|
||||
|
||||
@@ -168,6 +168,7 @@ describe('using the query server', function() {
|
||||
localChecking: false,
|
||||
noComputeGetUrl: false,
|
||||
noComputeToString: false,
|
||||
computeDefaultStrings: true
|
||||
},
|
||||
queryToCheck: qlProgram,
|
||||
resultPath: COMPILED_QUERY_PATH,
|
||||
|
||||
@@ -52,6 +52,7 @@ describe('run-queries', () => {
|
||||
localChecking: false,
|
||||
noComputeGetUrl: false,
|
||||
noComputeToString: false,
|
||||
computeDefaultStrings: true
|
||||
},
|
||||
extraOptions: {
|
||||
timeoutSecs: 5
|
||||
|
||||
Reference in New Issue
Block a user