Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null Safety #194

Merged
merged 143 commits into from
May 16, 2021
Merged
Changes from 1 commit
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
b56f6af
cats: null safety
micimize Feb 10, 2021
f4ef00b
gql: null safety
micimize Feb 10, 2021
19ee9e0
applied quick fixes to ast.dart
micimize Feb 13, 2021
f08561b
more suggestions and quickfixes
micimize Feb 13, 2021
e36f939
suggestions and quickfixes for printer
micimize Feb 13, 2021
1cb11d1
changed _peek(TokenKind.name) != null to _peek(TokenKind.name) in _pa…
micimize Feb 13, 2021
04523f3
fix lexer digit parsing
micimize Feb 13, 2021
f28fe1f
fix gql pubspec
micimize Feb 13, 2021
48e4120
gql_exec dart migrate to nullsafety
micimize Feb 13, 2021
3419f50
gql_exec dart migrate to nullsafety
micimize Feb 13, 2021
560b819
gql_link dart migrate to nullsafety
micimize Feb 13, 2021
2576a97
try and resolve issues for gql_exec and gql_link at least
micimize Feb 13, 2021
8639a78
depend on 2.12-beta for CI
micimize Feb 13, 2021
a5e4972
fix formatting of gql tests
micimize Feb 13, 2021
d320324
fix some lints in gql_link
micimize Feb 13, 2021
fb0d3cd
fix cats pubspec
micimize Feb 13, 2021
f712536
prefer const literals
micimize Feb 13, 2021
57ed873
remove second gql_link from workflow
micimize Feb 13, 2021
09e38d3
automatic migration
micimize Feb 14, 2021
d174c30
nullable parsedResponse
micimize Feb 14, 2021
2acd175
nullable parsedResponse
micimize Feb 14, 2021
5502507
mockito migration for gql_http_link
micimize Feb 14, 2021
7f4e5e3
mockito omck generation and test fixes
micimize Feb 14, 2021
36690dc
finally got tests to pass with generated mockito types
micimize Feb 14, 2021
a52a83c
testing CI
micimize Feb 14, 2021
2422cc1
CI analysis issue
micimize Feb 14, 2021
315013d
check only if no diff
micimize Feb 14, 2021
69b040c
hard override
micimize Feb 14, 2021
4651478
loosen gql_http_link build_runner constraint
micimize Feb 14, 2021
43c313c
attempt bumping build runner and analyzer
micimize Feb 14, 2021
a5991f5
bump built value
micimize Feb 14, 2021
06d0e2a
bump built value
micimize Feb 14, 2021
43f4b81
bump built collectoi
micimize Feb 14, 2021
511dfb6
ignore mockito build failure
micimize Feb 14, 2021
9476984
build runner as separate step
micimize Feb 14, 2021
fd9ee3a
gql_example_http_auth_link: bump http version
micimize Feb 14, 2021
b533989
migrate dedupe_link
micimize Feb 15, 2021
bfa683f
cleanup unneeded mocklink codegen
micimize Feb 15, 2021
887519a
migrate transform link
micimize Feb 15, 2021
2d20dda
migrate error link
micimize Feb 15, 2021
7be1f32
move gql_example_http_auth_link to examples, add other examples
micimize Feb 15, 2021
1dd54fb
ignore lack of build runners in examples
micimize Feb 15, 2021
072ec8f
avoid using nullable name where name is mandatory
klavs Feb 17, 2021
8136c73
Merge pull request #196 from klavs/nullsafety
micimize Feb 19, 2021
d4046ea
test with [ -d ./test ] || exit 0 to avoid false positives
micimize Feb 19, 2021
eacc68a
add note about transience of check_package.sh
micimize Feb 19, 2021
5c451a9
make AccumulatingVisitor vistors non-nullable
micimize Feb 19, 2021
9fefd35
non-nullable token kind
micimize Feb 19, 2021
d1a9b1b
replace `if (position >= src.length)` with `if (code != null)`
micimize Feb 19, 2021
da4cd3d
avoid peek()! bug
micimize Feb 19, 2021
f4ba1a5
avoid node.description! with initial deref
micimize Feb 19, 2021
9f9e343
apply parser changes from previous PR
micimize Feb 19, 2021
c59d109
make more SourceSpanExceptions safer
micimize Feb 19, 2021
9a55d0d
Merge pull request #15 from gql-dart/nullsafety
agent3bood Feb 21, 2021
25283a0
Merge branch 'nullsafety' into gql_websocket_link--null_safety
agent3bood Feb 21, 2021
9c436a5
null safety
agent3bood Feb 21, 2021
8fa7cef
releasing prereleases
micimize Feb 27, 2021
8417839
publish *-nullsafety.1 versions of all migrated packages
micimize Feb 27, 2021
7e12206
loosen gql path constraint for flutter_test compat
micimize Mar 5, 2021
64c7de5
fix error parsing
micimize Mar 6, 2021
b93e288
quick fixes for issues discovered while migrating graphql flutter
micimize Mar 7, 2021
4cdfe70
Merge pull request #17 from gql-dart/nullsafety
agent3bood Mar 9, 2021
a2dd907
Merge branch 'nullsafety' into gql_websocket_link--null_safety
agent3bood Mar 9, 2021
48a28ef
Revert "null safety"
agent3bood Mar 9, 2021
9108958
remove uuid_enhanced & use uuid
agent3bood Mar 9, 2021
0711103
upgrade dependencies WIP
agent3bood Mar 9, 2021
5f0e284
sdk: '>=2.7.0 <3.0.0'
agent3bood Mar 9, 2021
deb2ba9
null-safety
agent3bood Mar 9, 2021
24253cd
tests
agent3bood Mar 9, 2021
bb7d531
enable gql_pedantic
agent3bood Mar 9, 2021
9b8e44f
correct onError type
agent3bood Mar 9, 2021
9075541
lint
agent3bood Mar 9, 2021
ce56a1b
Merge pull request #198 from agent3bood/gql_websocket_link--null_safety
micimize Mar 10, 2021
a9aab30
Merge pull request #18 from gql-dart/nullsafety
agent3bood Mar 23, 2021
45f41d9
upgrade dependencies
agent3bood Mar 23, 2021
51d893e
DioLink null-safety
agent3bood Mar 23, 2021
8a0d5ef
tests
agent3bood Mar 23, 2021
ba4e0f5
bump version
agent3bood Mar 23, 2021
000d5bb
Merge pull request #203 from agent3bood/gql_dio_link--null-safety_2
micimize Mar 24, 2021
ce1b68b
add null safety to codegen libs (#202)
smkhalsa Mar 25, 2021
76a362a
Merge pull request #21 from gql-dart/nullsafety
agent3bood Apr 1, 2021
011ab4d
upgrade packages
agent3bood Apr 1, 2021
c4b35da
generated files
agent3bood Apr 1, 2021
71dfa68
fix null safety issues & update api url
agent3bood Apr 1, 2021
e6f04ea
upgrade packages
agent3bood Apr 3, 2021
b77fb47
build
agent3bood Apr 3, 2021
436a7af
migrate tests to null safety
agent3bood Apr 3, 2021
8599cee
update packages
agent3bood Apr 5, 2021
577b84c
null safety code
agent3bood Apr 5, 2021
aecb4a7
bump dio link deps and publish prerelease
micimize Apr 7, 2021
9b82678
bump websocket link deps and publish prerelease
micimize Apr 7, 2021
3421735
upgrade packages
agent3bood Apr 10, 2021
24b9715
generated files
agent3bood Apr 10, 2021
c3b1512
auto updated xCode files
agent3bood Apr 10, 2021
e5ea0eb
migrate app code to null safety
agent3bood Apr 10, 2021
ad9de54
update api url
agent3bood Apr 10, 2021
daacb20
ignore generated files warnings
agent3bood Apr 10, 2021
ea40f06
Merge branch 'master' into nullsafety
micimize Apr 13, 2021
d21004b
clean gql_dio_link pubspec
micimize Apr 13, 2021
e8e9076
update dio example deps
micimize Apr 13, 2021
687d4fc
regen svg
micimize Apr 13, 2021
9a5af94
fix dio link analysis and tests
micimize Apr 13, 2021
1f0a349
just took the svg from CI
micimize Apr 13, 2021
94a1d70
just fking fix the mocks jeez
micimize Apr 13, 2021
aa30895
regen svg againnnn
micimize Apr 13, 2021
6381ae4
fix gql_code_builder test
micimize Apr 13, 2021
2175bd0
regen gql_example_build files
micimize Apr 13, 2021
c15e883
Merge pull request #22 from gql-dart/nullsafety
agent3bood Apr 14, 2021
366a5bd
Merge branch 'nullsafety' into nullsafety_gql_example_cli
agent3bood Apr 14, 2021
0d2f106
fix warnings
agent3bood Apr 14, 2021
b2c7f2e
add space in pubspec.yaml
agent3bood Apr 14, 2021
bbea4cc
fix analysis issues
agent3bood Apr 14, 2021
6860bf0
Merge branch 'nullsafety' into nullsafety_gql_example_build
agent3bood Apr 14, 2021
b6faf10
Merge branch 'nullsafety' into nullsafety_gql_example_flutter
agent3bood Apr 16, 2021
e2403d1
.github action add fail-fast: false to examples
agent3bood Apr 16, 2021
298aba6
.github action add fail-fast: false to examples
agent3bood Apr 16, 2021
7c3bdd8
.github action add fail-fast: false to examples
agent3bood Apr 16, 2021
892da33
fix: pubspec.yaml add missing space which caused CI to fail
agent3bood Apr 16, 2021
839a507
add hint to example
agent3bood Apr 16, 2021
14d2e98
fix: pubspec.yaml add missing space which caused CI to fail
agent3bood Apr 16, 2021
13d3cba
.github action add fail-fast: false to examples
agent3bood Apr 16, 2021
1a2f52c
Merge pull request #212 from agent3bood/nullsafety_gql_example_build
micimize Apr 17, 2021
ea2b03d
Merge pull request #214 from agent3bood/nullsafety_gql_example_http_a…
micimize Apr 17, 2021
f31bdf7
Merge pull request #208 from agent3bood/nullsafety_gql_example_cli
micimize Apr 17, 2021
3e27831
Merge pull request #217 from agent3bood/nullsafety_gql_example_flutter
micimize Apr 17, 2021
481a843
Upgrade code_builder & build_runner to null safety (#221)
smkhalsa May 11, 2021
9f6b10a
upgrade code_builder to null safety
smkhalsa Apr 22, 2021
319da2b
update built_value
smkhalsa May 11, 2021
74babd1
bump version
smkhalsa May 11, 2021
df4caf9
bump build_runner for gql_example_build, gql_example_cli, and gql_exa…
micimize May 16, 2021
7517f0c
update gql_example_github_cli
micimize May 16, 2021
7090898
fix nullhandling gql_example_github_cli
micimize May 16, 2021
23ca081
fix nullhandling gql_example_github_cli
micimize May 16, 2021
0f45c28
fix gh example pubspec
micimize May 16, 2021
582c37c
try and satisfy dry run with workaround
micimize May 16, 2021
6758a0c
try and satisfy dry run with workaround
micimize May 16, 2021
ea355e1
try w/o comments?
micimize May 16, 2021
459fec5
try source approach
micimize May 16, 2021
f9fab50
with bash?
micimize May 16, 2021
b30d451
tweak
micimize May 16, 2021
ce43589
tweak
micimize May 16, 2021
cb456e8
try using exec
micimize May 16, 2021
a1728dc
continue on error
micimize May 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
.github action add fail-fast: false to examples
  • Loading branch information
agent3bood committed Apr 16, 2021
commit 13d3cbaac9b986da0050ced116f09eeeb62b694d
1 change: 1 addition & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -63,6 +63,7 @@ jobs:
multipack --only $PACKAGE pub run test
examples:
strategy:
fail-fast: false
matrix:
package:
- gql_example_cli