@@ -51,16 +51,20 @@ class GraphQLClient implements GraphQLDataProxy {
5151 late final QueryManager queryManager;
5252
5353 /// Create a copy of the client with the provided information.
54- GraphQLClient copyWith (
55- {Link ? link,
56- GraphQLCache ? cache,
57- DefaultPolicies ? defaultPolicies,
58- bool ? alwaysRebroadcast}) {
54+ GraphQLClient copyWith ({
55+ Link ? link,
56+ GraphQLCache ? cache,
57+ DefaultPolicies ? defaultPolicies,
58+ bool ? alwaysRebroadcast,
59+ Duration ? queryRequestTimeout,
60+ }) {
5961 return GraphQLClient (
60- link: link ?? this .link,
61- cache: cache ?? this .cache,
62- defaultPolicies: defaultPolicies ?? this .defaultPolicies,
63- alwaysRebroadcast: alwaysRebroadcast ?? queryManager.alwaysRebroadcast);
62+ link: link ?? this .link,
63+ cache: cache ?? this .cache,
64+ defaultPolicies: defaultPolicies ?? this .defaultPolicies,
65+ alwaysRebroadcast: alwaysRebroadcast ?? queryManager.alwaysRebroadcast,
66+ queryRequestTimeout: queryRequestTimeout ?? queryManager.requestTimeout,
67+ );
6468 }
6569
6670 /// This registers a query in the [QueryManager] and returns an [ObservableQuery]
0 commit comments