fetchPolicy

fun <T> MutableExecutionOptions<T>.fetchPolicy(fetchPolicy: FetchPolicy): T

Sets the FetchPolicy. This only has effects for queries. Mutations and subscriptions always use the network only. This overrides any fetch policy interceptor set with fetchPolicyInterceptor.

Default: FetchPolicy.CacheFirst