Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lhnrd opened this issue Apr 1, 2022 · 1 comment
Open

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

lhnrd opened this issue Apr 1, 2022 · 1 comment

Comments

@lhnrd
Copy link

lhnrd commented Apr 1, 2022

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
Copy link

Same error after the update

alessbell added a commit that referenced this issue Oct 16, 2023
* Use early return when there is no fieldDef

* fix: reverse condition

* chore: add changeset

---------

Co-authored-by: Alessia Bellisario <github@bellisar.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants