OpenSearch.Client.DateRange conversion error

Describe the issue:


Trying to do a searchAsync (SearchAsync) request from .net, and the response contains a DateRange attribute.

but all my tests are failing with the following error:

*OpenSearch.Net.UnexpectedOpenSearchClientException : Error setting value to 'GreaterThanOrEqualTo' on 'OpenSearch.Client.DateRange'.*
*---- Newtonsoft.Json.JsonSerializationException : Error setting value to 'GreaterThanOrEqualTo' on 'OpenSearch.Client.DateRange'.*
*-------- System.InvalidCastException : Unable to cast object of type 'System.DateTime' to type 'System.Nullable`1[System.DateTimeOffset]'.*

Is there a way to overwrite the casting, or other ways to handle this?



Relevant Logs or Screenshots: