Skip to content

Commit 0facc48

Browse files
committed
fix(examples/starwars): use git dependency for graphql_starwars_test_server
there are some issues with angel dart 2.8 compatability that make it so we need to depend on a chain of git dependencies
1 parent f52b1db commit 0facc48

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.8+2/","dependencies":[]},{"name":"path_provider","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/","dependencies":[]}],"android":[{"name":"connectivity","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.8+2/","dependencies":[]},{"name":"path_provider","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/","dependencies":[]}],"macos":[{"name":"connectivity_macos","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_macos-0.1.0+2/","dependencies":[]},{"name":"path_provider_macos","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4/","dependencies":[]}],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"connectivity","dependencies":["connectivity_macos"]},{"name":"connectivity_macos","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos"]},{"name":"path_provider_macos","dependencies":[]}],"date_created":"2020-03-29 14:38:58.208164","version":"1.15.17"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.8+2/","dependencies":[]},{"name":"path_provider","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/","dependencies":[]}],"android":[{"name":"connectivity","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.8+2/","dependencies":[]},{"name":"path_provider","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/","dependencies":[]}],"macos":[{"name":"connectivity_macos","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_macos-0.1.0+2/","dependencies":[]},{"name":"path_provider_macos","path":"/Users/mjr/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4/","dependencies":[]}],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"connectivity","dependencies":["connectivity_macos"]},{"name":"connectivity_macos","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos"]},{"name":"path_provider_macos","dependencies":[]}],"date_created":"2020-03-29 14:49:55.731308","version":"1.15.17"}

examples/starwars/pubspec.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ dependencies:
88
path: ../../packages/graphql_flutter
99
graphql:
1010
path: ../../packages/graphql
11-
graphql_starwars_test_server: ^0.1.0
1211
universal_platform: ^0.1.3
1312
# https://github.com/flutter/flutter/issues/36126#issuecomment-596215587
13+
graphql_starwars_test_server:
14+
git: [email protected]:micimize/angel-starwars-test-server.git
1415

1516
flutter:
1617
uses-material-design: true
@@ -20,6 +21,12 @@ dependency_overrides:
2021
path: ../../packages/graphql_flutter
2122
graphql:
2223
path: ../../packages/graphql
23-
graphql_starwars_test_server:
24-
path: /Users/mjr/Documents/code/libraries/angel-starwars-server
25-
24+
graphql_server:
25+
git:
26+
url: [email protected]:micimize/angel.git
27+
ref: typeerror2.8-fix
28+
path: packages/graphql/graphql_server
29+
graphql_parser:
30+
git:
31+
url: [email protected]:micimize/angel.git
32+
path: packages/graphql/graphql_parser

0 commit comments

Comments
 (0)