score:1

for the time being you have to set all three types.

const defaultoptions = { 
  watchquery: {
    fetchpolicy: 'cache-and-network',
    errorpolicy: 'ignore',
  },
  query: {
    fetchpolicy: 'cache-and-network',
    errorpolicy: 'all',
  },
  mutate: {
    errorpolicy: 'all'
  }
}

const client = new apolloclient({
  link,
  cache,
  defaultoptions,
})

Related Query

More Query from same tag