-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Apollo Client 3.9 causes linting error to be thrown when using refetch
#11554
Comments
Hi @strmer15 👋 Thanks for the reproduction. @efstathiosntonas mentioned this on #11543 which was resolved (tagging in case they want to watch this issue 🙂), but we didn't have a reproduction for the linter error yet. Appreciate you opening it, taking a look. |
Thanks for the additional info! We should have a fix out in the next day or two via #11558. |
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better. |
The fix has been released in v3.9.3. |
@IanCStewart I am not able to reproduce that with v3.9.6. Try removing your |
I had same bug, removing and reinstalling helped :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue Description
After updating to
@apollo/client
3.9, our linter now complains about uses ofrefetch
from theuseQuery
hook:I tried with
@apollo/client
3.8.10 and verified that this does not happen.Link to Reproduction
https://github.com/strmer15/apollo-client-typescript-lint-error
Reproduction Steps
Clone the repository at https://github.com/strmer15/apollo-client-typescript-lint-error
Run
npm install
Run
npm run lint
You should get:
@apollo/client
version3.9.2
The text was updated successfully, but these errors were encountered: