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

don't serialize unprovided datetimes #178

Merged
merged 2 commits into from
May 4, 2023

Conversation

tofay
Copy link
Contributor

@tofay tofay commented May 3, 2023

I was trying to create a policy configuration but hitting errors like

Error converting value {null} to type 'System.DateTime'. Path 'createdDate', line 1, position 250.

as I wasn't specifying some optional date times, and ADO returned 400 bad request on null datetimes.

@johnbatty johnbatty merged commit 547b79e into microsoft:main May 4, 2023
2 checks passed
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