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(*): handle null values in custom json converter #19

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

sstone1
Copy link
Contributor

@sstone1 sstone1 commented Sep 13, 2022

The JsonSerializerSettings are in the control of the consuming application, which means that we cannot rely on NullValueHandling being set to Ignore. This change updates our custom JSON converter to handle null values for modelled objects instead of throwing an error message, and removes all JsonSerializerSettings from our tests.

Signed-off-by: Simon Stone [email protected]

@sstone1 sstone1 requested a review from mttrbrts September 13, 2022 08:09
@sstone1 sstone1 self-assigned this Sep 13, 2022
@sstone1 sstone1 enabled auto-merge (squash) September 13, 2022 08:11
@sstone1 sstone1 merged commit 1c0ec66 into accordproject:main Sep 13, 2022
@sstone1 sstone1 deleted the simon-stone/handle-null-values branch September 13, 2022 08:12
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.

2 participants