next-with-apollo icon indicating copy to clipboard operation
next-with-apollo copied to clipboard

Still sending HTTP queries when getDataFromTree is not defined

Open eric-burel opened this issue 4 years ago • 1 comments

Hi, I may have missed something, but when I use withApollo with getDataFromTree as undefined, HTTP queries are still sent by the server.

I try to totally disable Apollo queries during server render in test mode, so that I can mock them client-side in Cypress instead.

Did I miss something to achieve this goal?

eric-burel avatar Jun 23 '20 07:06 eric-burel

This seems to be an issue with Apollo Client itself: https://github.com/apollographql/apollo-client/issues/7940

zenflow avatar Apr 01 '21 20:04 zenflow