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

Maintain class in deep_copy #594

Merged
merged 1 commit into from
Oct 16, 2017
Merged

Maintain class in deep_copy #594

merged 1 commit into from
Oct 16, 2017

Conversation

ob-stripe
Copy link
Contributor

r? @brandur-stripe
cc @stripe/api-libraries

Minor fix: I noticed that deep_copy always returns a StripeObject instance. This PR fixes it so it returns an instance of the same class that is being copied.

@brandur-stripe
Copy link
Contributor

Nice one. Thanks!

@brandur-stripe brandur-stripe merged commit 517c1f0 into master Oct 16, 2017
@brandur-stripe brandur-stripe deleted the ob-fix-deep-copy branch October 16, 2017 18:59
@brandur-stripe
Copy link
Contributor

Fixed released as part of 3.5.3.

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.

None yet

2 participants