We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce2ba9 commit 7ba47b7Copy full SHA for 7ba47b7
1 file changed
src/core/QueryManager.ts
@@ -1106,14 +1106,12 @@ export class QueryManager {
1106
aqr[extensionsSymbol] = result.extensions;
1107
}
1108
1109
- if (hasErrors) {
1110
- if (errorPolicy !== "ignore") {
1111
- aqr.error = new CombinedGraphQLErrors(
1112
- removeStreamDetailsFromExtensions(result)
1113
- );
1114
- if (aqr.networkStatus !== NetworkStatus.streaming) {
1115
- aqr.networkStatus = NetworkStatus.error;
1116
- }
+ if (hasErrors && errorPolicy !== "ignore") {
+ aqr.error = new CombinedGraphQLErrors(
+ removeStreamDetailsFromExtensions(result)
+ );
+ if (aqr.networkStatus !== NetworkStatus.streaming) {
+ aqr.networkStatus = NetworkStatus.error;
1117
1118
1119
0 commit comments