-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[pigeon] Use non-nullable generics in example app #7817
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
[pigeon] Use non-nullable generics in example app #7817
Conversation
Now that Pigeon supports non-nullable generics, update the example app to show the much more likely use case of having non-nullable generics for collection types. Part of flutter/flutter#155891
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group. |
This data is never used on the native side, so this is pretty much just changing generated code. |
test-exempt: code refactor with no semantic change |
Looks like you need to update the snippets |
This looks good, but is it okay if this waits for https://github.com/flutter/packages/pull/7812to merge, which would reland this revert #7810 |
I assume this was intended for #7820? This one won't impact that PR. |
Ah yes my bad, i got the prs confused |
Override changelog: these are unpublished example files |
auto label is removed for flutter/packages/7817, due to - The status or check suite Linux repo_checks has failed. Please fix the issues identified (or deflake) before re-applying this label. |
flutter/packages@8fbf4cd...9d00fb1 2024-10-09 10687576+bparrishMines@users.noreply.github.com [interactive_media_ads] Adds internal wrapper for Android native `CompanionAd` (flutter/packages#7823) 2024-10-08 matanlurey@users.noreply.github.com Disable `SurfaceProducer.Callback` when the surface is disposed manually. (flutter/packages#7827) 2024-10-08 matanlurey@users.noreply.github.com Dispose the `ExoPlayer` before `SurfaceProducer`. (flutter/packages#7824) 2024-10-08 stuartmorgan@google.com [pigeon] Use non-nullable generics in example app (flutter/packages#7817) 2024-10-08 43054281+camsim99@users.noreply.github.com Manually Roll Flutter (stable) from 4cf269e to 2663184 (5 revisions) (flutter/packages#7819) 2024-10-08 stuartmorgan@google.com [camera] Update iOS Pigeon for non-nullable generics (flutter/packages#7787) 2024-10-08 stuartmorgan@google.com [in_app_purchase] Update Android Pigeon for non-nullable generics (flutter/packages#7788) 2024-10-08 jessiewong401@gmail.com [WIP] Updated applying gradle plugin for flutter_plugin_android_lifecycles (flutter/packages#7786) 2024-10-08 engine-flutter-autoroll@skia.org Manual roll Flutter from ec2e12b to 0917e9d (29 revisions) (flutter/packages#7816) 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 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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Now that Pigeon supports non-nullable generics, update the example app to show the much more likely use case of having non-nullable generics for collection types.
Part of flutter/flutter#155891
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style, or this PR is exempt from CHANGELOG changes.///
).