fix(graphql): Minor formatting issues
MODIFY
packages/graphql/lib/src/core/query_options.dart
packages/graphql/lib/src/core/query_options.dart
@@ -324,7 +324,7 @@ class FetchMoreOptions {
}
/// merge fetchMore result data with earlier result data
-typedef Map<String, dynamic>? UpdateQuery(
+typedef UpdateQuery = Map<String, dynamic>? Function(
Map<String, dynamic>? previousResultData,
Map<String, dynamic>? fetchMoreResultData,
);

MODIFY
packages/graphql/lib/src/utilities/platform_html.dart
packages/graphql/lib/src/utilities/platform_html.dart
@@ -7,7 +7,9 @@ Future<WebSocketChannel> defaultConnectPlatform(
if (headers != null) {
print("The headers on the web are not supported");
}
- final webSocketChannel =
- await WebSocketChannel.connect(uri, protocols: protocols);
+ final webSocketChannel = WebSocketChannel.connect(
+ uri,
+ protocols: protocols,
+ );
return webSocketChannel.forGraphQL();
}

fix(graphql): Minor formatting issues