···153153 // Check whether we've got a `graphql()` or `gql()` call, by the
154154 // call expression's identifier
155155 if (!checks.isGraphQLCall(node, typeChecker)) {
156156- return;
156156+ return ts.forEachChild(node, find);
157157 }
158158159159 const name = checks.getSchemaName(node, typeChecker);
+1-1
packages/graphqlsp/src/ast/resolve.ts
···158158 if (node.elements.every(ts.isIdentifier)) return node.elements;
159159 const identifiers: ts.Identifier[] = [];
160160 for (let element of node.elements) {
161161- while (ts.isPropertyAccessExpression(element)) element = element.expression;
161161+ while (ts.isPropertyAccessExpression(element)) element = element.name;
162162 if (ts.isIdentifier(element)) identifiers.push(element);
163163 }
164164 return identifiers;
+1-1
packages/graphqlsp/src/index.ts
···162162 : positionOrRange.pos,
163163 info
164164 );
165165- console.log('[GraphQLSP]', JSON.stringify(codefix));
165165+166166 if (codefix) {
167167 return [
168168 {