withFetchMoreOptions method

QueryOptions<Query$GetLastCommits> withFetchMoreOptions(
  1. FetchMoreOptions fetchMoreOptions
)
inherited

Implementation

QueryOptions<TParsed> withFetchMoreOptions(
  FetchMoreOptions fetchMoreOptions,
) =>
    QueryOptions<TParsed>(
      document: fetchMoreOptions.document ?? document,
      operationName: operationName,
      fetchPolicy: FetchPolicy.noCache,
      errorPolicy: errorPolicy,
      parserFn: parserFn,
      context: context,
      variables: {
        ...variables,
        ...fetchMoreOptions.variables,
      },
    );