apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Vue warning in any smart query after migration to vue-apollo 3

Open benams opened this issue 3 years ago • 1 comments

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:

  1. Migrate to vue-apollo 3 following the steps suggested here
  2. Add a smart query to your components
  3. Open the console
  4. 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

benams avatar Aug 31 '21 14:08 benams

OK, it solved after installing the latest version instead of the alpha (npm install vue-apollo@latest) 😅

benams avatar Aug 31 '21 14:08 benams