defaultOptions doesn't allow setting _any_ option

The defaultOptions parameter of the ApolloClient class says

Provide this object to set application-wide default values for options you can provide to the watchQuery , query , and mutate functions. See below for an example object.

This seems to show that any of the options you’d provide to a query or mutation could be set via defaultOptions, yet the example provided and my tests show that only fetchPolicy and errorPolicy seem to be used.

I’d love to be able to set all the default options for queries and mutations, particularly ssr: false to ensure that only certain queries could be run server-side.

See: inspiring-sunset-g8ohj - CodeSandbox

1 Like