0
mahendra created
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
Please don't bother. The issue has been fixed by converting the daetime datetype to datetimeoffset datatype...
Regards, Mahendra
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
When I chaged the datatype of my Dto from DateTime to DateTimeOffset, the GraphQL started returning the time with date value. But the next problem started in AutoMapper.
Now my entity class has a DateTime datatype but my dto (say, CreateOrUpdate DTO) has a a DateTimeOffset datatype. Due to this it started throwing error while mapping the dto object to entity object or vice versa.
What is the best way to overcome this problem.
Regards, Mahendra
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)
