Closed 6XGate closed 3 years ago
Did you find a solution/workaround for this? I'm trying to refetch
the query with a different value for one of the variables and I get this error. Same occurs using setVariables
@mwidmann, we have not checked to see if this is still an issue in later builds.
@6XGate sadly it still applies to the current version of the library. I was wondering if you found a different approach to solve this you could maybe share?
Not at this time. We just don't try to alter the parameter values until this is fixed.
Does anyone know another way to handle this? We're struggling to get quite a crucial element of our app to work due to this problem.
Describe the bug If you create a reactive SmartQuery in a component, using refetch on that query will cause subsequent updates to break that query.
To Reproduce
Expected behavior The changes to the reactive variables should trigger a call to the query with the new computed values, likely not including anything passed to refetch, and not error.
Versions vue: 2.6.11 vue-apollo: 3.0.3 apollo-client: 2.6.10