File tree Expand file tree Collapse file tree 7 files changed +11
-7
lines changed Expand file tree Collapse file tree 7 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ packages:
8
8
9
9
scripts :
10
10
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"
12
12
description : Run dart analyzer in a specific package.
13
13
select-package :
14
14
flutter : true
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import 'package:gql_link/gql_link.dart' show LinkException;
6
6
/// This constructor is deprecated, use
7
7
/// [NetworkException.fromException] instead.
8
8
class NetworkException extends LinkException {
9
- @deprecated
10
9
NetworkException ({
11
10
required Object originalException,
12
11
StackTrace originalStackTrace = StackTrace .empty,
Original file line number Diff line number Diff line change @@ -594,6 +594,8 @@ class GraphQLWebSocketChannel extends StreamChannelMixin<dynamic>
594
594
595
595
String ? get closeReason => _webSocket.closeReason;
596
596
597
+ Future <void > get ready => _webSocket.ready;
598
+
597
599
@override
598
600
WebSocketSink get sink => _webSocket.sink;
599
601
}
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ dependencies:
15
15
gql_error_link : ^0.2.3
16
16
gql_dedupe_link : ^2.0.3
17
17
hive : ^2.1.0
18
- normalize : ^0.7.1
18
+ normalize : ^0.8.0
19
19
http : ^0.13.0
20
20
collection : ^1.15.0
21
- web_socket_channel : 2.2 .0
21
+ web_socket_channel : ^2.3 .0
22
22
stream_channel : ^2.1.0
23
23
rxdart : ^0.27.1
24
24
uuid : ^3.0.1
Original file line number Diff line number Diff line change @@ -2,5 +2,4 @@ include: package:pedantic/analysis_options.yaml
2
2
3
3
linter :
4
4
rules :
5
- avoid_as : false
6
5
flutter_style_todos : false
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ class _MyHomePageState extends State<MyHomePage> {
150
150
],
151
151
),
152
152
Text ('note: this example has no mutations' ,
153
- style: Theme .of (context).textTheme.caption ),
153
+ style: Theme .of (context).textTheme.bodySmall ),
154
154
ElevatedButton (
155
155
onPressed: () {
156
156
fetchMore !(opts);
Original file line number Diff line number Diff line change @@ -4,8 +4,12 @@ version: 5.1.2
4
4
repository : https://github.com/zino-app/graphql-flutter/tree/main/packages/graphql_flutter
5
5
issue_tracker : https://github.com/zino-hofmann/graphql-flutter/issues
6
6
7
+ # just for dev work
8
+ publish_to : ' none'
9
+
7
10
dependencies :
8
- graphql : ^5.1.3
11
+ graphql :
12
+ path : ../graphql
9
13
gql_exec : ^0.4.0
10
14
flutter :
11
15
sdk : flutter
You can’t perform that action at this time.
0 commit comments