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
We are trying to pass an apollo link object instead of string to the two endpoints but we are getting error that the apollo link is not assignable to type string.
So I ran into same issue as you and mananegd to fix it with a bit of struggle, basically instead of setting context or instead of using createHttpLink I did something like (url, endpoint) => if (endpoint == "main") { return ApolloLink.from([authLink, httpLink])}
We are trying to pass an apollo link object instead of string to the two endpoints but we are getting error that the apollo link is not assignable to type string.
How can this be fixed and how can we add different cache for each
The text was updated successfully, but these errors were encountered: