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

Support for Dapper 'Dapper.Contrib.Extensions' #139

Open
dooferorg opened this issue Dec 7, 2024 · 0 comments
Open

Support for Dapper 'Dapper.Contrib.Extensions' #139

dooferorg opened this issue Dec 7, 2024 · 0 comments
Labels

Comments

@dooferorg
Copy link

While trying to convert a project to AOT, I noticed that the Dapper.Contrib.Extensions does not seem to be supported since it uses reflection to be able to generate Insert, Update and Delete statements on the fly. I wondered if the AOT tools could intercept these extension methods if found/used in the code and convert them so that AOT operation would work. As it stands, code that uses them is incompatible with AOT operation because Reflection gets used and an exception about Dynamic code generation being disallowed happens.

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

No branches or pull requests

1 participant