Skip to content

Conversation

helenye-stripe
Copy link
Contributor

@helenye-stripe helenye-stripe commented Sep 25, 2025

Why?

Decrease the size of the library for unnecessary duplicated types

What?

Moves all params (service and resource) to the top level and are shared.

Generated changes only.

See Also

Changelog

  • ⚠️ Resource and service request parameter types have been moved to the top-level and are shared, prepended with their related resource/service
    • For example, _stripe._account.Account.CreateParams and _stripe._account_service.CreateParams have moved to _stripe.params._account_create_params.AccountCreateParams
    • This change only affects users who explicitly refer to params types. No migration is necessary for users otherwise

@helenye-stripe helenye-stripe requested a review from a team as a code owner September 25, 2025 21:09
@helenye-stripe helenye-stripe requested review from mbroshi-stripe and removed request for a team September 25, 2025 21:09
@mbroshi-stripe mbroshi-stripe removed their request for review September 26, 2025 13:41
Copy link
Member

@xavdid-stripe xavdid-stripe left a comment

Choose a reason for hiding this comment

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

small naming question but looks good otherwise!

@xavdid-stripe
Copy link
Member

i've updated param -> params

@xavdid-stripe xavdid-stripe merged commit e10c120 into master Sep 30, 2025
14 checks passed
@xavdid-stripe xavdid-stripe deleted the helenye-params branch September 30, 2025 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants