-
Notifications
You must be signed in to change notification settings - Fork 4k
refactor(functions): migrate to nnbd #4691
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
Conversation
a4b9bfd
to
1b4ce89
Compare
1b4ce89
to
ddd8e0d
Compare
...nctions_platform_interface/lib/src/platform_interface/platform_interface_https_callable.dart
Show resolved
Hide resolved
… the default MethodChannel instance is used
…ve coverage and remove mockito usage
…packages in example app
@@ -0,0 +1,184 @@ | |||
# Copyright 2021 The Chromium Authors. All rights reserved. |
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 could probably move the one in firebase_core
above /packages
and reuse it here to avoid duplicates
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.
Might be worth getting the individual PRs merged in then doing that since there's a number ongoing at once?
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.
In favour of doing this at the end after we've migrated the others, or on a separate PR, wanted to keep this PR self contained to cloud functions changes only.
Tracking internally on INVERTASE/FF-16.
packages/cloud_functions/cloud_functions/lib/src/https_callable_result.dart
Outdated
Show resolved
Hide resolved
packages/cloud_functions/cloud_functions/test/firebase_functions_test.dart
Outdated
Show resolved
Hide resolved
packages/cloud_functions/cloud_functions/test/firebase_functions_test.dart
Outdated
Show resolved
Hide resolved
...cloud_functions_platform_interface/lib/src/method_channel/method_channel_https_callable.dart
Outdated
Show resolved
Hide resolved
packages/cloud_functions/cloud_functions_web/test/cloud_functions_web_test.dart
Outdated
Show resolved
Hide resolved
packages/cloud_functions/cloud_functions_web/lib/interop/functions.dart
Outdated
Show resolved
Hide resolved
...ons_platform_interface/lib/src/platform_interface/platform_interface_firebase_functions.dart
Show resolved
Hide resolved
032f5b4
to
9364216
Compare
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.
Looking good!
Description
Migrate Firebase Functions packages to NNBD.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
).This will ensure a smooth and quick review process. Updating the
pubspec.yaml
and changelogs is not required.///
).flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?