apollo
apollo copied to clipboard
Vue warning in any smart query after migration to vue-apollo 3
I get a console error: [Vue warn]: Error in callback for watcher "function () { [native code] }": "TypeError: this.observer.currentResult is not a function"
for each smart query I use in my application.
To Reproduce Steps to reproduce the behavior:
- Migrate to vue-apollo 3 following the steps suggested here
- Add a smart query to your components
- Open the console
- See error described above.
Expected behavior A clear and concise description of what you expected to happen.
Versions vue: 2.6.14 vue-apollo: 3.0.0-alpha.3 @apollo/client: 3.4.10
OK, it solved after installing the latest version instead of the alpha (npm install vue-apollo@latest
) 😅