Skip to content
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

Pass requestor to all deserialized objects including lists #1507

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

helenye-stripe
Copy link
Contributor

@helenye-stripe helenye-stripe commented Dec 17, 2024

Why?

Reported in #1506 where requestor is nil in deserialized lists. Before, we did not persist the requestor through lists in the response. This meant that requests couldn't be made on returned resources inside the list.

What

This passes requestor through to all instances of convert_to_stripe_object where it was previously not, and adds some tests for this.

@helenye-stripe helenye-stripe requested review from a team and jar-stripe and removed request for a team December 17, 2024 15:40
@jar-stripe
Copy link
Contributor

"Fix ####" in the description will automatically close that issue. We want to close the issue only after the release is out, right?

Copy link
Contributor

@jar-stripe jar-stripe left a comment

Choose a reason for hiding this comment

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

LGTM!

@helenye-stripe helenye-stripe merged commit 8aec85f into master Dec 17, 2024
14 checks passed
@helenye-stripe helenye-stripe deleted the helenye-requestor-pass branch December 17, 2024 16:59
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