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

Make internals visible to Newtonsoft.Json #1300

Merged
merged 1 commit into from
Sep 27, 2018
Merged

Make internals visible to Newtonsoft.Json #1300

merged 1 commit into from
Sep 27, 2018

Conversation

ob-stripe
Copy link
Contributor

r? @anelder-stripe @remi-stripe
cc @stripe/api-libraries

Make internals visible to Newtonsoft.Json, as suggested by @anelder-stripe in #971.

Unfortunately, I'm not sure if it's possible to write a test for this, but the change does make sense to me: StripeDateTimeConverter is declared as an internal class, but it needs to be instantiated by Newtonsoft.Json when deserializing.

@remi-stripe
Copy link
Contributor

This seems fine to me but deferring to @anelder-stripe on this since he had the original suggestion.

Copy link
Contributor

@anelder-stripe anelder-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! Not sure how to test either, but please dm me when it's a published release, @ob-stripe! 👍

@ob-stripe ob-stripe merged commit c7e4c09 into master Sep 27, 2018
@ob-stripe ob-stripe deleted the ob-perms-json branch September 27, 2018 18:51
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