Uh oh!
There was an error while loading. Please reload this page.
[pigeon] FlutterApi error handling - #5008
Conversation
stuartmorgan-g
commented
Oct 2, 2023
Since we have breaking changes to Java in this PR we should do the |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
All the new generated boilerplate makes me sad, but we can tackle that later. It great to have this plumbed correctly everywhere!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Doesn't the [outputAsNumber integerValue] need to be cast to the enum type to avoid warnings?
There was a problem hiding this comment.
I don't think so, they're freely convertible from my understanding. 🤷
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
flutter/packages@c7008cf...d654f75 2023-10-04 tarrinneal@gmail.com [pigeon] FlutterApi error handling (flutter/packages#5008) 2023-10-03 ychris@google.com [webview_flutter] [webview_flutter_wkwebview]Fix race condition in flaky test (flutter/packages#5068) 2023-10-03 engine-flutter-autoroll@skia.org Roll Flutter from 57ed724 to 5122991 (21 revisions) (flutter/packages#5067) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/packages@c7008cf...d654f75 2023-10-04 tarrinneal@gmail.com [pigeon] FlutterApi error handling (flutter/packages#5008) 2023-10-03 ychris@google.com [webview_flutter] [webview_flutter_wkwebview]Fix race condition in flaky test (flutter/packages#5068) 2023-10-03 engine-flutter-autoroll@skia.org Roll Flutter from 57ed724 to 5122991 (21 revisions) (flutter/packages#5067) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
* Adds error handling on Flutter Api methods. * **Breaking Change** Removes `Reply` class from all Java method returns. * **Breaking Change** Adds `NullableResult` class for all nullable Java method returns. * **Breaking Change** Nests all enum returns in Objective-c to allow for `nil` response on error. * **Breaking Change** Renames `Setup` to `SetUp` in Objective-c. fixesflutter/flutter#118243fixesflutter/flutter#118245fixesflutter/flutter#124268fixesflutter/flutter#135176
* Adds error handling on Flutter Api methods. * **Breaking Change** Removes `Reply` class from all Java method returns. * **Breaking Change** Adds `NullableResult` class for all nullable Java method returns. * **Breaking Change** Nests all enum returns in Objective-c to allow for `nil` response on error. * **Breaking Change** Renames `Setup` to `SetUp` in Objective-c. fixesflutter/flutter#118243fixesflutter/flutter#118245fixesflutter/flutter#124268fixesflutter/flutter#135176
Replyclass from all Java method returns.NullableResultclass for all nullable Java method returns.nilresponse on error.SetuptoSetUpin Objective-c.fixesflutter/flutter#118243
fixesflutter/flutter#118245
fixesflutter/flutter#124268
fixesflutter/flutter#135176
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.