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
DateTime
type (in schema)[JsonConverter(typeof(InvariantConverter))]
public DateTime Birthdate { get; set; } -
Create schema content with
Birthdate
set tonull
(optional). -
Request get content, working fine as
Birthdate
is absent in the response body. -
Using Squidex Client Library (Nuget C#). The
Birthdate
is returned with adefault
Datetime0001-01-01T00:00:00+00:00
Expected behavior
Datetime
with null
value should not be assigned to default Datetime anyway.
Version: 4.2.0