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
for ExecuteScalar and QuerySingleOrDefault methods DAP037 error is reported ("No settable members exist for user type"), when return type is an array like byte[] or string[].
publicasyncTask<byte[]?>TryGetByteArray(NpgsqlConnectionconn,longid){varbytes=awaitconn.ExecuteScalarAsync<byte[]>("select blob from foo where id = @id",param:new{id});returnbytes;}
Expected behavior: No error.
Dapper v2.1.35
Dapper.AOT v1.0.31
Npgsql v8.0.3
The text was updated successfully, but these errors were encountered:
Hello,
for ExecuteScalar and QuerySingleOrDefault methods DAP037 error is reported ("No settable members exist for user type"), when return type is an array like
byte[]
orstring[]
.Expected behavior: No error.
The text was updated successfully, but these errors were encountered: