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

Adding optional date reviver #83

Merged
merged 5 commits into from
Oct 1, 2018
Merged

Adding optional date reviver #83

merged 5 commits into from
Oct 1, 2018

Conversation

damccorm
Copy link

Builds off of @etiago's closed PR #69, makes it optional instead of mandatory to fix issues with back compat, and adds tests.

Fixes #68

@etiago
Copy link

etiago commented Sep 14, 2018

Thanks for this! I closed mine as I'm no longer using the library and wasn't going to have the time to follow up, but it's looking good 🙏

lib/RestClient.ts Outdated Show resolved Hide resolved
@stephenmichaelf
Copy link
Member

Let's bump minor version, otherwise looks good to me. Once @bryanmacfarlane reviews we can merge.

@stephenmichaelf
Copy link
Member

Also rename the method to dateTimeDeserializer to match the config flag.

@stephenmichaelf
Copy link
Member

And update descriptions for tests.

@damccorm damccorm merged commit f7e3d0b into microsoft:master Oct 1, 2018
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.

Dates in return types are deserialized as strings
3 participants