Skip to content

[in_app_purchase_storekit] Use _$SKPaymentDiscountWrapperToJson - #12721

Open
ValentinVignal wants to merge 1 commit into
flutter:mainfrom
ValentinVignal:in-app-purchase-storekit/use-_$SKPaymentDiscountWrapperToJson
Open

[in_app_purchase_storekit] Use _$SKPaymentDiscountWrapperToJson#12721
ValentinVignal wants to merge 1 commit into
flutter:mainfrom
ValentinVignal:in-app-purchase-storekit/use-_$SKPaymentDiscountWrapperToJson

Conversation

@ValentinVignal

Copy link
Copy Markdown
Contributor

Part of flutter/flutter#183937

Pre-Review Checklist

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

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Sep 2, 2026
@flutter-dashboard

Copy link
Copy Markdown

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.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the toMap method in SKPaymentDiscountWrapper to use the generated _$SKPaymentDiscountWrapperToJson(this) function instead of manually constructing the map. I have no feedback to provide.

@ValentinVignal

Copy link
Copy Markdown
Contributor Author

I'd assume this would rely on existing tests to pass and doesn't require a new test to be written?
Does it need a new entry

## NEXT

- Fixes lint issues.

in the changelog? Or is it better to ignore it?

@ValentinVignal ValentinVignal changed the title [in_app_purchase_storekit] Use _$SKPaymentDiscountWrapperToJson [in_app_purchase_storekit] Use _$SKPaymentDiscountWrapperToJson Sep 2, 2026
@stuartmorgan-g

Copy link
Copy Markdown
Collaborator

[x] I followed the version and CHANGELOG instructions, using semantic versioning and the repository CHANGELOG style, or I have commented below to indicate which documented exception this PR falls under1.

I'm not a primary reviewer for this package, but as a general note: please don't check items in the checklist if you haven't done them. There are no version or changelogs in this PR, and no reference is made in the PR description or comments to any of the documented exceptions.

@stuartmorgan-g
stuartmorgan-g requested review from LongCatIsLooong and LouiseHsu and removed request for stuartmorgan-g September 2, 2026 16:59
@stuartmorgan-g stuartmorgan-g added the triage-ios Should be looked at in iOS triage label Sep 2, 2026
@ValentinVignal

Copy link
Copy Markdown
Contributor Author

@stuartmorgan-g , sure noted, this comment was addressing (or raising) the CHANGELOG matter.

I will wait for the primary reviewers of this package to let me know what they think about it. Thank you for letting me know

@stuartmorgan-g

Copy link
Copy Markdown
Collaborator

this comment was addressing (or raising) the CHANGELOG matter.

That comments asks if this PR should follow our documented policy or not, which isn't what the checklist item says. It also doesn't address the missing version change at all.

If you believe this PR should be exempted from standard policy it's fine to ask (although generally such a request should come with an explanation of why you believe it should be exempt), but please don't also check the box in the checklist that says that you did follow the policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants