File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ ObservableQuery<TParsed> useWatchQueryOnClient<TParsed>(
7575) {
7676 final overwrittenOptions = useMemoized (() {
7777 final policies =
78- client.defaultPolicies.query .withOverrides (options.policies);
78+ client.defaultPolicies.watchQuery .withOverrides (options.policies);
7979 return options.copyWithPolicies (policies);
8080 }, [options]);
8181
@@ -98,7 +98,7 @@ ObservableQuery<TParsed> useWatchMutationOnClient<TParsed>(
9898) {
9999 final overwrittenOptions = useMemoized (() {
100100 final policies =
101- client.defaultPolicies.mutate .withOverrides (options.policies);
101+ client.defaultPolicies.watchMutation .withOverrides (options.policies);
102102 return options.copyWithPolicies (policies);
103103 }, [options]);
104104 return use (
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ void main() {
352352 'does not issues new network request when policies are effectively unchanged' ,
353353 (WidgetTester tester) async {
354354 final page = Page (
355- fetchPolicy: client! .value.defaultPolicies.query .fetch,
355+ fetchPolicy: client! .value.defaultPolicies.watchQuery .fetch,
356356 errorPolicy: null ,
357357 );
358358
You can’t perform that action at this time.
0 commit comments