-
Notifications
You must be signed in to change notification settings - Fork 125
Nullsafe gql, gql_exec, gql_link #193
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
Closed
Closed
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
bb7e93a
cats: null safety
micimize cbcf939
gql: null safety
micimize fa1edbb
applied quick fixes to ast.dart
micimize 924352d
more suggestions and quickfixes
micimize a6805a8
suggestions and quickfixes for printer
micimize cb7349a
changed _peek(TokenKind.name) != null to _peek(TokenKind.name) in _pa…
micimize ff71970
fix lexer digit parsing
micimize 691e0e3
fix gql pubspec
micimize 848c74e
gql_exec dart migrate to nullsafety
micimize cf4e4a2
gql_exec dart migrate to nullsafety
micimize c1289f0
gql_link dart migrate to nullsafety
micimize b5e9b39
try and resolve issues for gql_exec and gql_link at least
micimize 99a334d
depend on 2.12-beta for CI
micimize ee974f4
fix formatting of gql tests
micimize 429d717
fix some lints in gql_link
micimize ffc032f
fix cats pubspec
micimize f9c9bb5
prefer const literals
micimize dd93c03
remove second gql_link from workflow
micimize 118ad83
automatic migration
micimize 8edfa3c
nullable parsedResponse
micimize da8fc71
nullable parsedResponse
micimize 5aa8bb3
mockito migration for gql_http_link
micimize b792c30
mockito omck generation and test fixes
micimize 64092c9
finally got tests to pass with generated mockito types
micimize 72259a5
testing CI
micimize 523465a
CI analysis issue
micimize 0f1edb7
check only if no diff
micimize cf46960
hard override
micimize d50fadf
loosen gql_http_link build_runner constraint
micimize d0d08dc
attempt bumping build runner and analyzer
micimize e24bfc5
bump built value
micimize 7874187
bump built value
micimize a7f17bc
bump built collectoi
micimize cdb37c5
ignore mockito build failure
micimize c880990
build runner as separate step
micimize 3a2cb9f
gql_example_http_auth_link: bump http version
micimize 03701f6
migrate dedupe_link
micimize 0c055c0
cleanup unneeded mocklink codegen
micimize 3617102
migrate transform link
micimize ddd20b2
migrate error link
micimize 6885e14
move gql_example_http_auth_link to examples, add other examples
micimize 756a08d
ignore lack of build runners in examples
micimize File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#/bin/bash | ||
|
||
set -e | ||
|
||
PACKAGE=$1 | ||
|
||
git diff --exit-code | ||
|
||
clean_up () { | ||
ARG=$? | ||
git checkout . | ||
exit $ARG | ||
} | ||
|
||
trap clean_up EXIT | ||
|
||
# Check pubspec | ||
multipack --only $PACKAGE pubspec clean | ||
multipack --only $PACKAGE exec git diff --exit-code pubspec.yaml | ||
|
||
# Override local dependencies | ||
multipack pubspec hard_override | ||
|
||
multipack --only $PACKAGE pub get | ||
|
||
# Check formatting | ||
echo "" | ||
echo "A list of incorrectly formatted files may follow:" | ||
echo "" | ||
multipack --only $PACKAGE fmt -n . --set-exit-if-changed | ||
echo "" | ||
|
||
# Analyze package | ||
multipack --only $PACKAGE analyze --version | ||
multipack --only $PACKAGE analyze --fatal-warnings --no-hints . | ||
|
||
# Run tests | ||
# mockito requires build runner now | ||
multipack --only $PACKAGE pub run build_runner build --delete-conflicting-outputs || true | ||
multipack --only $PACKAGE exec [ ! -d ./test ] && exit 0 | ||
micimize marked this conversation as resolved.
Show resolved
Hide resolved
|
||
multipack --only $PACKAGE pub run test | ||
|
||
git checkout . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,5 @@ doc/api/ | |
.vscode/ | ||
|
||
**/*.iml | ||
|
||
**/test/**/*.mocks.dart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.