Skip to content

Commit 32040ee

Browse files
Merge pull request zino-hofmann#1285 from zino-hofmann/macros/normalize
dependencies bump with new feature supports
2 parents d7f5403 + e736f5b commit 32040ee

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

melos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ packages:
88

99
scripts:
1010
flutter_analyze:
11-
run: melos exec --depends-on="graphql" -c 1 -- "flutter format --set-exit-if-changed . && flutter analyze . --fatal-infos"
11+
run: melos exec --depends-on="graphql" -c 1 -- "dart format --set-exit-if-changed . && flutter analyze . --fatal-infos"
1212
description: Run dart analyzer in a specific package.
1313
select-package:
1414
flutter: true

packages/graphql/lib/src/exceptions/network.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import 'package:gql_link/gql_link.dart' show LinkException;
66
/// This constructor is deprecated, use
77
/// [NetworkException.fromException] instead.
88
class NetworkException extends LinkException {
9-
@deprecated
109
NetworkException({
1110
required Object originalException,
1211
StackTrace originalStackTrace = StackTrace.empty,

packages/graphql/lib/src/links/websocket_link/websocket_client.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,8 @@ class GraphQLWebSocketChannel extends StreamChannelMixin<dynamic>
594594

595595
String? get closeReason => _webSocket.closeReason;
596596

597+
Future<void> get ready => _webSocket.ready;
598+
597599
@override
598600
WebSocketSink get sink => _webSocket.sink;
599601
}

packages/graphql/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ dependencies:
1515
gql_error_link: ^0.2.3
1616
gql_dedupe_link: ^2.0.3
1717
hive: ^2.1.0
18-
normalize: ^0.7.1
18+
normalize: ^0.8.0
1919
http: ^0.13.0
2020
collection: ^1.15.0
21-
web_socket_channel: 2.2.0
21+
web_socket_channel: ^2.3.0
2222
stream_channel: ^2.1.0
2323
rxdart: ^0.27.1
2424
uuid: ^3.0.1

packages/graphql_flutter/example/analysis_options.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ include: package:pedantic/analysis_options.yaml
22

33
linter:
44
rules:
5-
avoid_as: false
65
flutter_style_todos: false

packages/graphql_flutter/example/lib/fetchmore/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class _MyHomePageState extends State<MyHomePage> {
150150
],
151151
),
152152
Text('note: this example has no mutations',
153-
style: Theme.of(context).textTheme.caption),
153+
style: Theme.of(context).textTheme.bodySmall),
154154
ElevatedButton(
155155
onPressed: () {
156156
fetchMore!(opts);

packages/graphql_flutter/pubspec.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ version: 5.1.2
44
repository: https://github.com/zino-app/graphql-flutter/tree/main/packages/graphql_flutter
55
issue_tracker: https://github.com/zino-hofmann/graphql-flutter/issues
66

7+
# just for dev work
8+
publish_to: 'none'
9+
710
dependencies:
8-
graphql: ^5.1.3
11+
graphql:
12+
path: ../graphql
913
gql_exec: ^0.4.0
1014
flutter:
1115
sdk: flutter

0 commit comments

Comments
 (0)