Undefined Type for Operation #1160
-
I've been using URQL for a while without issues, but I'm in the process of integrating the I'm getting a warning in the console when making the query:
And if I check the operation from with the auth exchange's I'm assuming that this is the cause of the problem, but what could cause the operation type to be My config looks like this:
Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's possible that this was caused by Now, there's a simple fix for this. If you're using Similarly for Hope that helps 🙌 |
Beta Was this translation helpful? Give feedback.
It's possible that this was caused by
operation.kind
, which is a new addition from@urql/[email protected]
.Now, there's a simple fix for this. If you're using
urql
for instance, bump that, or bump just@urql/core
. You'll have to make sure that all your packages are using the same version of@urql/core
so if after thatyarn list --pattern urql
still shows you two of those, then runnpx yarn-deduplicate
.Similarly for
npm
there's thenpm dedupe
command.Hope that helps 🙌