You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might have been fixed by #8424, which was shipped in 3.5, which is currently in an RC phase. Can you try installing @apollo/client@beta? If not, I’m happy to help here!
Intended outcome:
Following the documentation I want to ignore the errors and handle the issue with any typescript issue:
https://www.apollographql.com/docs/react/data/error-handling/#ignoring-errors
Actual outcome:
The code is working well but I have a typescript error:
Type 'null' is not assignable to type 'readonly GraphQLError[] | undefined'.
How to reproduce the issue:
Ignore the error like it's documented here using typescript:
https://www.apollographql.com/docs/react/data/error-handling/#ignoring-errors
Versions
System:
OS: macOS 11.5.2
Binaries:
Node: 14.16.0 - /usr/local/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.14.11 - /usr/local/bin/npm
Browsers:
Chrome: 94.0.4606.61
Firefox: 86.0.1
Safari: 14.1.2
npmPackages:
@apollo/client: 3.4.15 => 3.4.15
The text was updated successfully, but these errors were encountered: