copyWithPolicies method

WatchQueryOptions<Query$GetLastCommits> copyWithPolicies(
  1. Policies policies
)
inherited

Implementation

WatchQueryOptions<TParsed> copyWithPolicies(
  Policies policies,
) =>
    WatchQueryOptions<TParsed>(
      document: document,
      operationName: operationName,
      variables: variables,
      fetchPolicy: policies.fetch,
      errorPolicy: policies.error,
      cacheRereadPolicy: policies.cacheReread,
      optimisticResult: optimisticResult,
      pollInterval: pollInterval,
      fetchResults: fetchResults,
      eagerlyFetchResults: eagerlyFetchResults,
      carryForwardDataOnException: carryForwardDataOnException,
      context: context,
      parserFn: parserFn,
    );