DapperLib / DapperLib/DapperAOT
No code or warning generated for QueryAsync with private class return
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 472
- Forks
- 43
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 18
Description
DapperAOT version 1.0.31
To Reproduce
var x = await connection.QueryAsync<Test>("SELECT 1 as v"); // no interceptor code generated
private class Test
{
public required int V { get; init; }
};
Probably should produce a warning?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the C# reproduction in the issue and inspect the generated output for QueryAsync when Test is private. Compare the behavior with the expected diagnostic or interceptor generation, then verify that the chosen behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- compilers, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100