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

Fix to support the value/valueSpecified properties used by XML in Json. #441

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

ewoutkramer
Copy link
Member

The xxxx/xxxxSpecified properties were not supported correctly by the json deserializer, leading to these properties being read as their default values. This in its turn caused some properties, in this case the precision/precisionSpecified properties to return false, even if the value in the json was true. Which led to the problems in #434.

This PR now makes sure the xxxxSpecified property is set when the value is set, which means that precisionSpecified will now work correctly.

Fixes #434.

@ewoutkramer ewoutkramer requested a review from baseTwo August 2, 2024 12:23
@baseTwo baseTwo merged commit 65eebb6 into develop-2.0 Aug 2, 2024
2 checks passed
@baseTwo baseTwo deleted the 434-ensure-valueSpecified-set-on-deserialize branch August 2, 2024 13:25
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.

Fix generated c# where passing string constant to precision parameter disappeared
2 participants