apollo
apollo copied to clipboard
fetchResults has no change on useQuery
Describe the bug
On v4, passing the option fetchResults: false to useQuery has no effect (and if it had any I'm not clear how it is different from enabled: false)
To Reproduce Steps to reproduce the behavior:
- Add
fetchResults: falseoption to a component with composition API - Render the page
- See component still fetching results on the server and on the client
Expected behavior From what I see this option only exists in the v4 branch in a doc page and in a test.
So perhaps it's a leftover from v3 and it's just a matter of removing it.
If it is to be implemented though, ideally would be clear what is the difference between fetchResults and enabled
Versions vue: 2.6.12 vue-apollo: v4.0.0-alpha.10 apollo-client: 3.1.2
Additional context Link to docs page: https://v4.apollo.vuejs.org/api/use-query.html#parameters
This seems to be still an issue or it requires some documentation.
any update here?