-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
Query execution hangs after a failed query #260
Comments
I have this problem also. Did you find any workaround? Thanks |
Unfortunately, No, I am forced to fall back to 2.1.0 at the moment. It seems this bug was introduced in version 3. |
Thanks for your reply. Interestingly, I just downgraded vue-apollo to version 2.1.0-rc.5 and the bug is still there. Must be in one of its dependencies... |
Hi, I found some same issue in react-apollo issues and I have the same problem, I think the problem came with apollo-client a PR was here and can solve the problem but not the solution. @Akryum what do you think ? |
I think this is an upstream issue in apollo client as you pointed out. |
Hello. Thank you for the exellent library.
One of components I'm currently building takes a user-inputted string as prop and use it as a query variable.
The GraphQL endpoint responds with an error if passed string is too short, or otherwise considered invalid (such as SQL injection).
If a GraphQL or network error occurs, the error itself is propagated correctly, but subsequent query hangs - $apolloData.loading is set to 1 and $apolloData.queries.[...].loading is set to true, without any actual request to the server being made.
The text was updated successfully, but these errors were encountered: