Skip to content

Commit 1de65f1

Browse files
motemenacao
authored andcommitted
use MessageProcessor._parser
1 parent 2455c73 commit 1de65f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/graphql-language-service-server/src/MessageProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ export class MessageProcessor {
12411241

12421242
const fileContent = await readFile(filePath, 'utf-8');
12431243
// I would use the already existing graphql-config AST, but there are a few reasons we can't yet
1244-
const contents = await parseDocument(fileContent, uri);
1244+
const contents = await this._parser(fileContent, uri);
12451245
if (!contents[0]?.query) {
12461246
return;
12471247
}

0 commit comments

Comments
 (0)