apollographql / vscode-graphql

Apollo GraphQL VS Code extension
https://marketplace.visualstudio.com/items?itemName=apollographql.vscode-apollo
MIT License
63 stars 20 forks source link

`TypeError: Cannot read properties of undefined (reading 'name')` #64

Open lhnrd opened 2 years ago

lhnrd commented 2 years ago

Receiving this after the latest VSCode update. Anyone with the same error?

/.vscode/extensions/apollographql.vscode-apollo-1.19.9/lib/language-server/errors/validation.js:103
                selectsClientFieldSet = Boolean(clientFields && clientFields.includes(fieldDef.name));
                                                                                               ^

TypeError: Cannot read properties of undefined (reading 'name')

┆Issue is synchronized with this Jira Task by Unito

NataliaTepluhina commented 2 years ago

Same error after the update