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
I am using [BindTupleByName] and use QuerySingleAsync to retern a tuple type. In the Error List I get the Message DAP013 - "Tuple-type results are not currently supported".
Where are you seeing this?
what Dapper/Dapper.StrongName version? <PackageReference Include="Dapper" Version="2.1.35" />
what Dapper.AOT/Dapper.Advisor version? <PackageReference Include="Dapper.AOT" Version="1.0.31" />
if relevant: what database backend?
Microsoft Sql Server, <PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" />
To Reproduce
[BindTupleByName]
public async Task<(int a, int b)> MyMethod(SqlConnection connection)
{
return await connection.QuerySingleAsync<(int a, int b)>("select 1 as a, 2 as b");
}
Expected behavior
As BindTupleByNameAttribute is specific to Dapper.AOT, I would have expected, that Dapper.AOT can return tuples...
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
I am using
[BindTupleByName]
and use QuerySingleAsync to retern a tuple type. In the Error List I get the Message DAP013 - "Tuple-type results are not currently supported".Where are you seeing this?
<PackageReference Include="Dapper" Version="2.1.35" />
<PackageReference Include="Dapper.AOT" Version="1.0.31" />
Microsoft Sql Server,
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" />
To Reproduce
Expected behavior
As
BindTupleByNameAttribute
is specific to Dapper.AOT, I would have expected, that Dapper.AOT can return tuples...Screenshots
The text was updated successfully, but these errors were encountered: