Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: when using SET_INITIAL_DATE_IF_NULL in STJ only set MinValue if JSON value is null and runtime type is not nullable #600

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

hf-kklein
Copy link
Collaborator

i think, this was the initial intention behind the converters? and there's no older/existing test that fails, so I think it's fine that way

note that this does NOT change the behaviour of the newtonsoft converters!

…f json value is not nullable

i think, this was the initial intention behind the converters? and there's no older/existing test that fails, so I think it's fine that way

note that this does _NOT_ change the behaviour of the newtonsoft converters!
@hf-kklein hf-kklein changed the title fix: when using SET_INITIAL_DATE_IF_NULL in STJ only set MinValue if json value is not nullable fix: when using SET_INITIAL_DATE_IF_NULL in STJ only set MinValue if JSON value is null and runtime type is not nullable Nov 20, 2024
Copy link
Contributor

@JoschaMetze JoschaMetze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jup, so hab ich das auch verstanden

@hf-kklein hf-kklein merged commit 525f893 into main Nov 20, 2024
9 checks passed
@hf-kklein hf-kklein deleted the null-if-null-type branch November 20, 2024 10:46
hf-kklein added a commit that referenced this pull request Nov 20, 2024
…f JSON value is null and runtime type is not nullable (#600)

fix: when using `SET_INITIAL_DATE_IF_NULL` in STJ only set MinValue if json value is not nullable

i think, this was the initial intention behind the converters? and there's no older/existing test that fails, so I think it's fine that way

note that this does _NOT_ change the behaviour of the newtonsoft converters!

Co-authored-by: Konstantin <konstantin.klein+github@hochfrequenz.de>
hf-kklein added a commit that referenced this pull request Nov 20, 2024
…f JSON value is null and runtime type is not nullable (#600) (#602)

fix: when using `SET_INITIAL_DATE_IF_NULL` in STJ only set MinValue if json value is not nullable

i think, this was the initial intention behind the converters? and there's no older/existing test that fails, so I think it's fine that way

note that this does _NOT_ change the behaviour of the newtonsoft converters!

Co-authored-by: Konstantin <konstantin.klein+github@hochfrequenz.de>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants