You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello
im currentlu developing a database provider for EF based on your client, and that's going well.
but there is an issue while using DateOnly type.
I'm currently using lates version available: 6.7.2
i narrow it down to this method: HttpParameterFormatter.Format()
case DateType dt:
return Convert.ToDateTime(value, CultureInfo.InvariantCulture).ToString("yyyy-MM-dd", CultureInfo.InvariantCulture);
the issue is Convert class dose not support that cast :
hello
im currentlu developing a database provider for EF based on your client, and that's going well.
but there is an issue while using DateOnly type.
I'm currently using lates version available: 6.7.2
i narrow it down to this method: HttpParameterFormatter.Format()
the issue is Convert class dose not support that cast :
Convert.ToDateTime(new DateOnly(), CultureInfo.InvariantCulture)
which throws InvalidCastException:
Unable to cast object of type 'System.DateOnly' to type 'System.IConvertible'
can you fix it? tnx in advance
The text was updated successfully, but these errors were encountered: