Hangfire.PostgreSql
Hangfire.PostgreSql copied to clipboard
Dapper.AOT
Fix https://github.com/hangfire-postgres/Hangfire.PostgreSql/issues/416
Also:
- merge some
.Query().SingleOrDefault()into.QuerySingleOrDefault()as dapper throw the exact same exceptions asSystem.Linq.Enumerable. - Replace some
.ToList()by.AsList(). - Replace tuple-type by
struct recordas suggested in https://aot.dapperlib.dev/rules/DAP013 - Convert
JsonParameterto a static class. And add::jsonbin sql script when needed.