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

Register unsaved attributes on assignment regardless of new value #389

Merged
merged 1 commit into from
Jan 12, 2018

Conversation

ob-stripe
Copy link
Contributor

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

When setting an attribute on a Stripe object, register the attribute as unsaved regardless of whether the new value is different from the existing value.

This aligns the behavior with that of our Ruby and PHP libraries.

Fixes #388.

@brandur-stripe
Copy link
Contributor

Great fix! (And thanks for checking for prior art in other libraries.)

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