Moq.Dapper icon indicating copy to clipboard operation
Moq.Dapper copied to clipboard

QueryFirstAsync<string> doesn't work and throws sequence contains no elements error

Open kokosky93 opened this issue 3 years ago • 2 comments

Generic QueryFirstAsync doesn't work for a string type.

QueryFirstAsync<string> -> exception => sequence contains no elements QueryFirstAsync<int> -> it works

kokosky93 avatar Oct 20 '21 09:10 kokosky93

same with Guid

kfiryahalom avatar Nov 02 '21 11:11 kfiryahalom

Also with custom data objects. Any updates regarding this?

rushikeshsane95 avatar May 02 '23 15:05 rushikeshsane95