Skip to content

Conversation

@NearTox
Copy link
Contributor

@NearTox NearTox commented Jun 7, 2025

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

this PR must made before #117261

Pre-Review Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I linked to at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is [exempt from version changes].
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style, or this PR is [exempt from CHANGELOG changes].
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@NearTox NearTox requested a review from chunhtai as a code owner June 7, 2025 00:29
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

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.If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). 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.

@NearTox NearTox changed the title [go_router_builder] add initial json support #110781 [go_router] add initial json support #110781 Jun 7, 2025
@Piinks
Copy link
Contributor

Piinks commented Jun 10, 2025

Hi @NearTox thanks for contributing! Would you mind adding tests to verify the change and address the failing checks?

@NearTox
Copy link
Contributor Author

NearTox commented Jun 10, 2025

Hi @Piinks, the tests is contained on #8665.
Since this only adds one required file, I thought it wasn't necessary.

@justinmc
Copy link
Contributor

@NearTox Can you take a look at the failing checks?

@NearTox
Copy link
Contributor Author

NearTox commented Jun 24, 2025

No yet, I didn't added any test so far.
I will do a rebase in order to fix the conflicts

Copy link
Member

@hannah-hyj hannah-hyj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@justinmc
Copy link
Contributor

@NearTox Looks like you have some conflicts now.

@muhammadkamel
Copy link

@chunhtai
I appreciate your support here.
I hope this PR gets merged soon.

Copy link
Contributor

@chunhtai chunhtai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chunhtai chunhtai added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 1, 2025
@auto-submit auto-submit bot merged commit 83ae18a into flutter:main Aug 4, 2025
78 checks passed
@NearTox NearTox deleted the go_router branch August 4, 2025 23:37
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 5, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Aug 5, 2025
flutter/packages@1a72287...83ae18a

2025-08-04 [email protected] [go_router] add initial json support
#110781 (flutter/packages#9404)
2025-08-04 [email protected] Update CODEOWNERS (flutter/packages#9721)
2025-08-04 [email protected] [google_maps_flutter_ios] Fix
kCGImageAlphaPremultipliedLast implicit conversion from enumeration type
(flutter/packages#9720)
2025-08-04 [email protected] Roll Flutter from
871849e to beda687 (34 revisions) (flutter/packages#9745)
2025-08-04 [email protected]
[interactive_media_ads] Fixes setting adsresponse on Android
(flutter/packages#9744)
2025-08-04 [email protected]
[interactive_media_ads]: Adds additional methods to configure ad
requests (flutter/packages#9696)

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
danilozhang pushed a commit to danilozhang/flutter that referenced this pull request Aug 6, 2025
flutter/packages@1a72287...83ae18a

2025-08-04 [email protected] [go_router] add initial json support
flutter#110781 (flutter/packages#9404)
2025-08-04 [email protected] Update CODEOWNERS (flutter/packages#9721)
2025-08-04 [email protected] [google_maps_flutter_ios] Fix
kCGImageAlphaPremultipliedLast implicit conversion from enumeration type
(flutter/packages#9720)
2025-08-04 [email protected] Roll Flutter from
871849e to beda687 (34 revisions) (flutter/packages#9745)
2025-08-04 [email protected]
[interactive_media_ads] Fixes setting adsresponse on Android
(flutter/packages#9744)
2025-08-04 [email protected]
[interactive_media_ads]: Adds additional methods to configure ad
requests (flutter/packages#9696)

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
ksokolovskyi pushed a commit to ksokolovskyi/flutter that referenced this pull request Aug 19, 2025
flutter/packages@1a72287...83ae18a

2025-08-04 [email protected] [go_router] add initial json support
flutter#110781 (flutter/packages#9404)
2025-08-04 [email protected] Update CODEOWNERS (flutter/packages#9721)
2025-08-04 [email protected] [google_maps_flutter_ios] Fix
kCGImageAlphaPremultipliedLast implicit conversion from enumeration type
(flutter/packages#9720)
2025-08-04 [email protected] Roll Flutter from
871849e to beda687 (34 revisions) (flutter/packages#9745)
2025-08-04 [email protected]
[interactive_media_ads] Fixes setting adsresponse on Android
(flutter/packages#9744)
2025-08-04 [email protected]
[interactive_media_ads]: Adds additional methods to configure ad
requests (flutter/packages#9696)

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
mboetger pushed a commit to mboetger/flutter that referenced this pull request Sep 18, 2025
flutter/packages@1a72287...83ae18a

2025-08-04 [email protected] [go_router] add initial json support
flutter#110781 (flutter/packages#9404)
2025-08-04 [email protected] Update CODEOWNERS (flutter/packages#9721)
2025-08-04 [email protected] [google_maps_flutter_ios] Fix
kCGImageAlphaPremultipliedLast implicit conversion from enumeration type
(flutter/packages#9720)
2025-08-04 [email protected] Roll Flutter from
871849e to beda687 (34 revisions) (flutter/packages#9745)
2025-08-04 [email protected]
[interactive_media_ads] Fixes setting adsresponse on Android
(flutter/packages#9744)
2025-08-04 [email protected]
[interactive_media_ads]: Adds additional methods to configure ad
requests (flutter/packages#9696)

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
korca0220 pushed a commit to korca0220/flutter that referenced this pull request Sep 22, 2025
flutter/packages@1a72287...83ae18a

2025-08-04 [email protected] [go_router] add initial json support
flutter#110781 (flutter/packages#9404)
2025-08-04 [email protected] Update CODEOWNERS (flutter/packages#9721)
2025-08-04 [email protected] [google_maps_flutter_ios] Fix
kCGImageAlphaPremultipliedLast implicit conversion from enumeration type
(flutter/packages#9720)
2025-08-04 [email protected] Roll Flutter from
871849e to beda687 (34 revisions) (flutter/packages#9745)
2025-08-04 [email protected]
[interactive_media_ads] Fixes setting adsresponse on Android
(flutter/packages#9744)
2025-08-04 [email protected]
[interactive_media_ads]: Adds additional methods to configure ad
requests (flutter/packages#9696)

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
lucaantonelli pushed a commit to lucaantonelli/flutter that referenced this pull request Nov 21, 2025
flutter/packages@1a72287...83ae18a

2025-08-04 [email protected] [go_router] add initial json support
flutter#110781 (flutter/packages#9404)
2025-08-04 [email protected] Update CODEOWNERS (flutter/packages#9721)
2025-08-04 [email protected] [google_maps_flutter_ios] Fix
kCGImageAlphaPremultipliedLast implicit conversion from enumeration type
(flutter/packages#9720)
2025-08-04 [email protected] Roll Flutter from
871849e to beda687 (34 revisions) (flutter/packages#9745)
2025-08-04 [email protected]
[interactive_media_ads] Fixes setting adsresponse on Android
(flutter/packages#9744)
2025-08-04 [email protected]
[interactive_media_ads]: Adds additional methods to configure ad
requests (flutter/packages#9696)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: go_router

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants