Skip to content

Commit abc2050

Browse files
Merge pull request #1182 from zino-hofmann/macros/protocol-bug
graphql: fixed copy and paste refactoring
2 parents 360616d + 5f58066 commit abc2050

File tree

9 files changed

+41
-9
lines changed

9 files changed

+41
-9
lines changed

.github/workflows/graphql_build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: graphql Dart Code sanity check
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48

59
jobs:
610
build:

.github/workflows/graphql_codcoverage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: graphql Code coverage
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48

59
jobs:
610
build:

.github/workflows/graphql_flutter_build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: graphql-flutter Dart Code sanity check
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48

59
jobs:
610
build:

.github/workflows/graphql_flutter_codcoverage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: graphql-flutter Code coverage
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48

59
jobs:
610
build:

.github/workflows/graphql_flutter_tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: graphql_flutter tests case
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48

59
jobs:
610
build:

.github/workflows/graphql_tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: graphql Test case
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48

59
jobs:
610
build:

.github/workflows/packages_build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Packages sanity check
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48

59
jobs:
610
build:

.github/workflows/packages_tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Packages sanity check
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48

59
jobs:
610
build:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class SocketSubProtocol {
156156
/// with subscriptions enabled use this library.
157157
/// N.B: not to be confused with the graphql-ws library that implement the
158158
/// old ws protocol.
159-
static const String graphqlTransportWs = GraphQLProtocol.graphqlWs;
159+
static const String graphqlTransportWs = GraphQLProtocol.graphqlTransportWs;
160160
}
161161

162162
/// ALL protocol supported by the library

0 commit comments

Comments
 (0)