throwOnCacheMiss

fun <T> MutableExecutionOptions<T>.throwOnCacheMiss(throwOnCacheMiss: Boolean): T

Sets whether missing fields from the cache should result in an exception.

When true, if any field is missing in the cache, the returned response will have a null data and a non-null exception of type com.apollographql.apollo.exception.CacheMissException.

Set this to false to allow partial responses from the cache, where some or all of the fields may be missing.

Default: true