-
Notifications
You must be signed in to change notification settings - Fork 339
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
Migrate provider screen to null-safety #3915
Migrate provider screen to null-safety #3915
Conversation
…rade-dependencies
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_providers.dart
Outdated
Show resolved
Hide resolved
Hi @rrousselGit! Thank you for working on this! Just let us know when this is ready for review and we'll get right on it. |
@rrousselGit , if you convert this PR from draft to 'Ready for review' the bots should run the tests and take this toil from you. |
Indeed. Although the tests are currently failing, so I felt like "draft" was appropriate |
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_viewer.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_providers.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_providers.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_providers.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_providers.dart
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_providers.dart
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_viewer.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_viewer.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_viewer.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/instance_viewer/result.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/provider/riverpod_error_logger_observer.dart
Outdated
Show resolved
Hide resolved
…t/devtools into upgrade-dependencies
…rade-dependencies
I believe I've applied all your suggestions. Although tests are still failing I believe. But I believe the CI is skipping the tests, so it's green anyway. |
Alright, I've fixed all the tests (even though the CI doesn't seem to run them). This should be good to merge |
packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_providers.dart
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple nits about imports, then LGTM. Fine to land import fixes in a follow up CL
// ignore_for_file: import_of_legacy_library_into_null_safe | ||
|
||
// ignore: import_of_legacy_library_into_null_safe | ||
import 'package:devtools_app/devtools_app.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should import libraries directly instead of importing devtools_app.dart, which exports many libraries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, done
import '../test_infra/flutter_test_driver.dart'; | ||
// ignore: import_of_legacy_library_into_null_safe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of repeating // ignore: import_of_legacy_library_into_null_safe
, just revert back to using ignore_for_file at the top of the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that all the ignores could be removed after-all. So I did that instead
Merged. Thanks @rrousselGit! |
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.