Skip to content

Conversation

@brjohnstmsft
Copy link
Member

…l classes

Fix for issue: #1063

Added a new IContractResolver to adjust DefaultValueHandling for non-nullable
properties. There is still a case where you can get JsonSerializationException
(as shown in the new tests), but the data corruption issue where 0/false/etc.
were converted to null has been fixed.

…l classes

Fix for issue: Azure#1063

Added a new IContractResolver to adjust DefaultValueHandling for non-nullable
properties. There is still a case where you can get JsonSerializationException
(as shown in the new tests), but the data corruption issue where 0/false/etc.
were converted to null has been fixed.
@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

stankovski added a commit that referenced this pull request Nov 25, 2015
Search SDK: Fix data corruption when using non-nullable types in mode…
@stankovski stankovski merged commit b347f50 into Azure:AutoRest Nov 25, 2015
@brjohnstmsft brjohnstmsft deleted the jsonfix-icr branch November 25, 2015 18:02
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.

4 participants