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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: