apollo
apollo copied to clipboard
Refetching with same variable as first call throws error
Version
Reproduction link
https://codepen.io/frostmegabyte/pen/bGqRVOp
Steps to reproduce
Run an Apollo Smart Query with a variable. This goes well. Then change the variable and run query. This also goes well. Now change back to the first variable and run query. Then the console throws _this2.options.variables.call is not a function.
What is expected ?
I expected the query to run once again and receive the same results as running it the first time.
What is actually happening?
Error is thrown in console and application crashes to error page.
Additional comments?
I am using the standard caching in Nuxt.js.