Hangfire.PostgreSql icon indicating copy to clipboard operation
Hangfire.PostgreSql copied to clipboard

Dapper.AOT

Open latop2604 opened this issue 2 months ago • 3 comments

Fix https://github.com/hangfire-postgres/Hangfire.PostgreSql/issues/416

Also:

  • merge some .Query().SingleOrDefault() into .QuerySingleOrDefault() as dapper throw the exact same exceptions as System.Linq.Enumerable.
  • Replace some .ToList() by .AsList().
  • Replace tuple-type by struct record as suggested in https://aot.dapperlib.dev/rules/DAP013
  • Convert JsonParameter to a static class. And add ::jsonb in sql script when needed.

latop2604 avatar Dec 12 '25 19:12 latop2604