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 would like to use the BatchHttpLink. I found this answer, it works, however with this approach I lose all the configs I have in my defineApolloClient such as token, fetch policies, and so on. All I want to do is use the defineApolloClient's config, and also specify that I want my queries to be batched with lets say batchInterval=15 and batchMax=10. Is it possible to do that somehow?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone!
I would like to use the
BatchHttpLink
. I found this answer, it works, however with this approach I lose all the configs I have in mydefineApolloClient
such as token, fetch policies, and so on. All I want to do is use thedefineApolloClient
's config, and also specify that I want my queries to be batched with lets saybatchInterval=15
andbatchMax=10
. Is it possible to do that somehow?Beta Was this translation helpful? Give feedback.
All reactions