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

Invalid dates - Fix 2 #805

Merged
merged 1 commit into from
Nov 10, 2022
Merged

Conversation

clement911
Copy link
Collaborator

This ensure that if an invalid date is present in the API, it is converted to NULL.
It expands on the previous fix, which was only handling invalid dates when deserializing from a webhook json.

@clement911
Copy link
Collaborator Author

@nozzlegear are you able to merge and release?
Sorry for the push but we're hitting this in a production for a Plus .merchant.

@clement911
Copy link
Collaborator Author

by the way, it would be great if I was somehow able to make releases myself. Even if they are marked as pre-release in nuget, this would help me greatly with emergency fixes... something to think about maybe...

@nozzlegear nozzlegear merged commit e5cc7f9 into nozzlegear:master Nov 10, 2022
@nozzlegear
Copy link
Owner

Woops sorry about that, I don't remember seeing an email or notification for this pull request. I'll publish as soon as the tests pass.

@clement911
Copy link
Collaborator Author

you're the man!

@nozzlegear
Copy link
Owner

by the way, it would be great if I was somehow able to make releases myself. Even if they are marked as pre-release in nuget, this would help me greatly with emergency fixes... something to think about maybe...

I don't have a problem with this! I think it would require me giving you write access to the repo. I've got the build pipeline set up to push new prerelease builds to nuget whenever tests pass, so all you'd need to do is merge your own pull requests I think.

@clement911
Copy link
Collaborator Author

so all you'd need to do is merge your own pull requests I think.

that would be great 😀

@nozzlegear
Copy link
Owner

Alright, I sent the collaborator invite! Feel free to send and merge pull requests as you see fit. Once they're merged the tests will run and if they pass the pipeline should push the changes to nuget as a new prerelease version.

@nozzlegear
Copy link
Owner

And just to be clear, you can merge other people's pull requests as well if I don't get to them first! You've put in a lot of work on this package over the years so I have no reason not to trust your judgement. But of course, don't take on any extra work that you don't want to as well!

@clement911
Copy link
Collaborator Author

thank you, that is much appreciated 😀

@nozzlegear
Copy link
Owner

No problem! And this fix is now published in 5.18.8 on nuget. Thanks for the PR!

@nozzlegear nozzlegear linked an issue Nov 10, 2022 that may be closed by this pull request
@clement911 clement911 deleted the invalid-date-fix2 branch November 11, 2022 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Critical: Bug in date handling
2 participants