DapperAOT icon indicating copy to clipboard operation
DapperAOT copied to clipboard

No code or warning generated for QueryAsync with private class return

Open cyril265 opened this issue 4 months ago • 0 comments

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?

cyril265 avatar Oct 21 '24 14:10 cyril265