I have…
- [ ] Checked the logs and have provided the logs if I found something suspicious there
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [x] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
Steps:
-
Declare
DateTimetype (in schema)[JsonConverter(typeof(InvariantConverter))]
public DateTime Birthdate { get; set; } -
Create schema content with
Birthdateset tonull(optional). -
Request get content, working fine as
Birthdateis absent in the response body. -
Using Squidex Client Library (Nuget C#). The
Birthdateis returned with adefaultDatetime0001-01-01T00:00:00+00:00
Expected behavior
Datetime with null value should not be assigned to default Datetime anyway.
Version: 4.2.0