Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No code or warning generated for QueryAsync with private class return #131

Open
cyril265 opened this issue Oct 21, 2024 · 0 comments
Open

Comments

@cyril265
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant