@client(always:true) doesn't work 🐛
See original GitHub issueIntended outcome: As documented here, I expect my local queries resolvers to always run.
Actual outcome: They never run. 😕
How to reproduce the issue: https://codesandbox.io/s/wom5lv5owl
Versions
"dependencies": {
"apollo-cache-inmemory": "1.5.1",
"apollo-client": "2.5.1",
"apollo-link-http": "1.5.14",
"apollo-link-ws": "1.0.17",
"graphql": "14.2.0",
"graphql-tag": "2.10.1",
"react": "16.8.3",
"react-apollo": "2.5.3",
"react-dom": "16.8.3",
"react-scripts": "2.1.8"
},
Please let me know if you need extra info or if I could do anything to help.
Thanks! 💙
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:33 (6 by maintainers)
Top Results From Across the Web
Handling operation errors - Apollo GraphQL Docs
Apollo Client helps you handle these errors according to their type, enabling you to show appropriate information to the user when an error...
Read more >c# - TcpClient.Connected returns true yet client is not ...
I'm constantly checking the .Connected property to verify if the client is connected but even if the client disconnects this still returns true....
Read more >Model validation in ASP.NET Core MVC | Microsoft Learn
The [Remote] attribute implements client-side validation that requires calling a method on the server to determine whether field input is valid.
Read more >Automatically handling Apollo Client errors in your React UI
This doesn't mean you shouldn't perform the check on the server at all, as the server should always be the final line of...
Read more >What went wrong? Troubleshooting JavaScript - MDN Web Docs
It won't always be that simple to work out what's wrong in your code, ... with the right tools and know what the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing since we just published the final version of
apollo-client@2.6.0
to npm, including some improvements to the functionality discussed in this issue. While there may still be related issues that are worth addressing, we are happy to continue those discussions in new issues. SeeCHANGELOG.md
if you’re curious about the other changes in this release.“always:true” should mean always as in always 😄