You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a query set to poll every so often. When the query returns a particular result (an empty array), apollo client appears to fail in an internal function, and from that moment on the query does not appear to be polled any more. I'm sure ultimately I'm holding something wrong, but it appears that Apollo is not resilient to whatever it is that I'm screwing up. I think the error indicates that the String method is called on... something that doesn't support that.
The error comes from warnAboutDataLoss, which I assume is supposed to be an unessential method (although I am curious what it would tell me if it succeeded in printing a message).
Uncaught TypeError: Cannot convert object to primitive value
at Array.join (<anonymous>)
at Array.toString (<anonymous>)
at String (<anonymous>)
at warn (<anonymous>)
at console.overrideMethod [as warn] (console.js:213:1)
at chunk-L5PWGWHX.js?v=d6783c76:216:21
at Function.warn (chunk-L5PWGWHX.js?v=d6783c76:282:8)
at warnAboutDataLoss (@apollo_client.js?v=d6783c76:3345:45)
at @apollo_client.js?v=d6783c76:3049:13
at Array.forEach (<anonymous>)
The text was updated successfully, but these errors were encountered:
I have a query set to
poll
every so often. When the query returns a particular result (an empty array), apollo client appears to fail in an internal function, and from that moment on the query does not appear to be polled any more. I'm sure ultimately I'm holding something wrong, but it appears that Apollo is not resilient to whatever it is that I'm screwing up. I think the error indicates that theString
method is called on... something that doesn't support that.The error comes from
warnAboutDataLoss
, which I assume is supposed to be an unessential method (although I am curious what it would tell me if it succeeded in printing a message).The text was updated successfully, but these errors were encountered: