querybuilder
querybuilder copied to clipboard
Is SqlKata.Core AOT ready?
Is SqlKata.Core AOT ready? I am getting trimming/AOT warnings with it. Is there any chance they can be addressed, since AOT becomes more and more valuable on .NET?
Is SqlKata.Core AOT ready?
I join the question. AOT becomes a very important technology.
Absolutely. AOT will become very important. We would like to see the popular query builder SqlKata supporting AOT as well.
I managed to make it work with AOT compilation, by using something like this to make the AOT trimming ignore these specific parts, which likely rely on reflection
<ItemGroup>
<TrimmerRootAssembly Include="SqlKata.Core" />
<TrimmerRootAssembly Include="MySql.Data" />
<TrimmerRootAssembly Include="System.Configuration.ConfigurationManager" />
</ItemGroup>