-
-
Notifications
You must be signed in to change notification settings - Fork 521
Open
Description
The new release of Npgsql came with a number of breaking changes. Particularly fundamental for SqlKata is the fact that date and time are now mapped to DateOnly and TimeOnly by default, as that effectively eliminates the ability to perform queries with SqlKata using that library.
For example, if one simply selects data from a table that contains colums of e.g. type timestamp without time zone using simple SqlKata-code like this...
var sqlQueryObj = new Query().From( someTable );
QueryFactory.Get<T>( sqlQueryObj, dbTransaction)
one ends with with an exception Error parsing column 3 (col3=01.01.1971 - Object) from Dapper, with the root cause / inner exception showing Object must implement IConvertible..
It seems the version of Dapper being employed by SqlKata is currently incompatible with an up-to-date Npgsql.
Metadata
Metadata
Assignees
Labels
No labels