public isQueryValid()

in src/parsers/odata-parser.ts [54:65]


    public isQueryValid(): boolean {
        if (this.query.queryType === QueryType.Tree) {
            NotesService.instance.newNote('error', `Only 'Flat list of work items' and 'Work items and direct links' queries are supported by OData.`);
            return false;
        }

        if (this.query.isInvalidSyntax) {
            NotesService.instance.newNote('error', `The WIQL query has invalid syntax. Fix the query before continuing.`);
            return false;
        }
        return true;
    }