[go_router_builder] Proposal: add json support, custom string encoder/decoder#8665
[go_router_builder] Proposal: add json support, custom string encoder/decoder#8665auto-submit[bot] merged 2 commits intoflutter:mainfrom
Conversation
|
you also need to bump versions in packages/go_router_builder/CHANGELOG.md and packages/go_router_builder/pubspec.yaml |
|
thank you for contributing the PR! This looks good to me over all with some comments |
|
PR looks good to me over all, just left some nit comments :) |
|
I made a rebase in order to take in account latest changes from main branch |
|
looks like the ci is not happy |
|
I think it’s because the annotations requires the changes that I made in go_router_builder. |
|
they will have to be separate into two prs. I think we try to avoid having one pr that bump the two package at once |
|
Hi @NearTox , is this PR still on your radar? this pr has to be separated into 2 PRs for go_router and go_router_builder |
separate json_example to independent file add missing examples
packages/go_router/CHANGELOG.md
Outdated
| ## 16.1.0 | ||
|
|
||
| - Adds annotation for go_router_builder that enable custom string encoder/decoder [#110781](https://github.com/flutter/flutter/issues/110781). **Requires go_router_builder >= 3.1.0**. | ||
| - Adds annotation for go_router_builder that enable custom string encoder/decoder [#110781](https://github.com/flutter/flutter/issues/110781). **Requires go_router_builder >= 3.4.0**. |
There was a problem hiding this comment.
This is unfortunate, can you have a separate pr to update this once this lands?
chunhtai
left a comment
There was a problem hiding this comment.
LGTM, can you separate out the changlog update from go_router?
|
@chunhtai the changelog for go_router is only for fix the notice, I don't intent to make a new release. |
|
Could you please assign another reviewer? Hannah might be on vacation, and this feature is important for us. |
|
Hi @chunhtai, |
|
@NearTox |
|
autosubmit label was removed for flutter/packages/8665, because The base commit of the PR is older than 7 days and can not be merged. Please merge the latest changes from the main into this branch and resubmit the PR. |
ce1ecb6 to
1dea932
Compare
flutter/packages@3413b65...117bf63 2025-09-24 [email protected] [ci] Add update-release-info command suggestion when version check fails (flutter/packages#9834) 2025-09-24 [email protected] Manual roll Flutter from 9ff2767 to 4a04204 (28 revisions) (flutter/packages#10067) 2025-09-24 [email protected] Remove "All right reserved" from all files (flutter/packages#10066) 2025-09-24 [email protected] [google_sign_in] Implement `disconnect` for Android (flutter/packages#9991) 2025-09-24 [email protected] [camera_android] Remove references to third party `googlesamples/mlkit` code (flutter/packages#10056) 2025-09-23 [email protected] [go_router_builder] [in_app_purchase_storekit] Removes redundant arguments from annotations (flutter/packages#9964) 2025-09-23 [email protected] [go_router] Fix Android Cold Start deep link with empty path losing scheme and authority. (flutter/packages#9868) 2025-09-23 [email protected] [go_router_builder] Proposal: add json support, custom string encoder/decoder (flutter/packages#8665) 2025-09-23 [email protected] [go_router] Fix ShellRoutes break iOS swipe back navigation (flutter/packages#9968) 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 [email protected] 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
flutter/packages@3413b65...117bf63 2025-09-24 [email protected] [ci] Add update-release-info command suggestion when version check fails (flutter/packages#9834) 2025-09-24 [email protected] Manual roll Flutter from 9ff2767 to 4a04204 (28 revisions) (flutter/packages#10067) 2025-09-24 [email protected] Remove "All right reserved" from all files (flutter/packages#10066) 2025-09-24 [email protected] [google_sign_in] Implement `disconnect` for Android (flutter/packages#9991) 2025-09-24 [email protected] [camera_android] Remove references to third party `googlesamples/mlkit` code (flutter/packages#10056) 2025-09-23 [email protected] [go_router_builder] [in_app_purchase_storekit] Removes redundant arguments from annotations (flutter/packages#9964) 2025-09-23 [email protected] [go_router] Fix Android Cold Start deep link with empty path losing scheme and authority. (flutter/packages#9868) 2025-09-23 [email protected] [go_router_builder] Proposal: add json support, custom string encoder/decoder (flutter/packages#8665) 2025-09-23 [email protected] [go_router] Fix ShellRoutes break iOS swipe back navigation (flutter/packages#9968) 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 [email protected] 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
flutter/packages@3413b65...117bf63 2025-09-24 [email protected] [ci] Add update-release-info command suggestion when version check fails (flutter/packages#9834) 2025-09-24 [email protected] Manual roll Flutter from 9ff2767 to 4a04204 (28 revisions) (flutter/packages#10067) 2025-09-24 [email protected] Remove "All right reserved" from all files (flutter/packages#10066) 2025-09-24 [email protected] [google_sign_in] Implement `disconnect` for Android (flutter/packages#9991) 2025-09-24 [email protected] [camera_android] Remove references to third party `googlesamples/mlkit` code (flutter/packages#10056) 2025-09-23 [email protected] [go_router_builder] [in_app_purchase_storekit] Removes redundant arguments from annotations (flutter/packages#9964) 2025-09-23 [email protected] [go_router] Fix Android Cold Start deep link with empty path losing scheme and authority. (flutter/packages#9868) 2025-09-23 [email protected] [go_router_builder] Proposal: add json support, custom string encoder/decoder (flutter/packages#8665) 2025-09-23 [email protected] [go_router] Fix ShellRoutes break iOS swipe back navigation (flutter/packages#9968) 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 [email protected] 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
Add initial json support for use in go_router_builder
Adds annotation that enable custom string encoder/decoder, its enable conversion for base64
This allow custom type conversion for parameters, like mentionated in #117261 and #110781
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, or this PR is exempt from CHANGELOG changes.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.